#8D4DFD

A color in the Violet family

#8d4dfd is a color in the Violet family: RGB(141, 77, 253), HSL(262°, 98%, 65%), CMYK(44%, 70%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 4.55:1 on white and 4.61:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8d4dfd
RGBrgb(141 77 253)
RGB (legacy)rgb(141, 77, 253)
RGB %rgb(55% 30% 99%)
HSLhsl(262 98% 65%)
HSV / HSBhsv(262, 70%, 99%)
HWBhwb(262 30% 1%)
CMYKcmyk(44%, 70%, 0%, 1%)
CIELAB (D50)lab(48.51 55.09 -79.21)
LCHlch(48.51 96.48 304.82)
OKLaboklab(0.5931 0.1008 -0.223)
OKLCHoklch(0.5931 0.2447 294.33)
Decimal9260541

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 6.2
Closest web-safe color#9966ff
Hue262°
Saturation (HSL / HSV)98% / 70%
Lightness (HSL)65%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)46% / 41%
Relative luminance (WCAG)0.1806
Red / Green / Blue141 / 77 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.55:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.61:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.8 / -30.8 · As background with white / black text: Lc -76.3 / 33.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8d4dfd;
  --color-brand-oklch: oklch(59.31% 0.2447 294.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(141 77 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8d4dfd] text-[#8d4dfd] border-[#8d4dfd]">