#D17DEE#D17DEE

#D17DEE is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.178 H 316.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D17DEE
RGBrgb(209, 125, 238)
HSLhsl(285, 77%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(12.2%, 47.5%, 0%, 6.7%)
CIE-LABlab(65.28, 50.75, -43.97)
CIE-LCHlch(65.28, 67.15, 319.09°)
OKLaboklab(72.16% 0.1304 -0.1219)
OKLCHoklch(72.16% 0.179 316.9)
XYZxyz(49.0585, 34.3971, 84.9274)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DEE #9AEE7D
analogous
#987DEE #D17DEE #EE7DD2
triadic
#D17DEE #EED17D #7DEED1
tetradic
#D17DEE #EE987D #9AEE7D #7DD2EE
square
#D17DEE #EE987D #9AEE7D #7DD2EE
split-complementary
#D17DEE #D2EE7D #7DEE98
monochromatic
#A51CD5 #BE47E7 #D17DEE #E4B3F5 #F5E4FB

Accessibility & contrast

On white

2.67
#D17DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D17DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DEE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DEE#FFFFFF#000000##000000
##D17DEE1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#D08DAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17dee;
/* rgb */ color: rgb(209, 125, 238);
/* oklch */ color: oklch(72.2% 0.178 316.9);
Tailwind
colors: {
  custom: {
    50: '#e1a5f4',
    500: '#d17dee',
    950: '#000000',
  },
}
SCSS
$custom: #d17dee;
$custom-light: #e1a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17dee",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 284.602,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72163,
    "c": 0.1785,
    "h": 316.9
  },
  "luminance": 0.34396
}

Semantic roles & 50–950 ramp

primary
#D17DEE
secondary
#DCF2D5
accent
#D90C41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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