#D17EE4#D17EE4

#D17EE4 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.167 H 320.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D17EE4
RGBrgb(209, 126, 228)
HSLhsl(289, 65%, 69%)
HSVhsv(289, 45%, 89%)
CMYKcmyk(8.3%, 44.7%, 0%, 10.6%)
CIE-LABlab(65.03, 48.25, -38.83)
CIE-LCHlch(65.03, 61.93, 321.17°)
OKLaboklab(71.83% 0.1275 -0.1071)
OKLCHoklch(71.83% 0.167 320)
XYZxyz(47.7572, 34.0802, 77.4462)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EE4 #91E47E
analogous
#9E7EE4 #D17EE4 #E47EC4
triadic
#D17EE4 #E4D17E #7EE4D1
tetradic
#D17EE4 #E49E7E #91E47E #7EC4E4
square
#D17EE4 #E49E7E #91E47E #7EC4E4
split-complementary
#D17EE4 #C4E47E #7EE49E
monochromatic
#A328C0 #BF4BD9 #D17EE4 #E3B1EF #F5E3F9

Accessibility & contrast

On white

2.69
#D17EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D17EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EE4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EE4#FFFFFF#000000##000000
##D17EE41.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E8
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#D28BA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17ee4;
/* rgb */ color: rgb(209, 126, 228);
/* oklch */ color: oklch(71.8% 0.167 320.0);
Tailwind
colors: {
  custom: {
    50: '#e1a5ed',
    500: '#d17ee4',
    950: '#000000',
  },
}
SCSS
$custom: #d17ee4;
$custom-light: #e1a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ee4",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 288.824,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71829,
    "c": 0.1665,
    "h": 320
  },
  "luminance": 0.34078
}

Semantic roles & 50–950 ramp

primary
#D17EE4
secondary
#D6EED0
accent
#CD183A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D17EE4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D17EE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva