#D17EEE#D17EEE

#D17EEE is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.3% C 0.177 H 316.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D17EEE
RGBrgb(209, 126, 238)
HSLhsl(284, 77%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.2%, 47.1%, 0%, 6.7%)
CIE-LABlab(65.48, 50.23, -43.66)
CIE-LCHlch(65.48, 66.55, 319.01°)
OKLaboklab(72.31% 0.129 -0.121)
OKLCHoklch(72.31% 0.177 316.8)
XYZxyz(49.1857, 34.6516, 84.9698)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EEE #9BEE7E
analogous
#997EEE #D17EEE #EE7ED3
triadic
#D17EEE #EED17E #7EEED1
tetradic
#D17EEE #EE997E #9BEE7E #7ED3EE
square
#D17EEE #EE997E #9BEE7E #7ED3EE
split-complementary
#D17EEE #D3EE7E #7EEE99
monochromatic
#A51CD5 #BE48E7 #D17EEE #E4B4F5 #F5E4FB

Accessibility & contrast

On white

2.65
#D17EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D17EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EEE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EEE#FFFFFF#000000##000000
##D17EEE1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#81A2EB
Tritanopia (blue-blind)
#D08EAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17eee;
/* rgb */ color: rgb(209, 126, 238);
/* oklch */ color: oklch(72.3% 0.177 316.8);
Tailwind
colors: {
  custom: {
    50: '#e1a6f4',
    500: '#d17eee',
    950: '#000000',
  },
}
SCSS
$custom: #d17eee;
$custom-light: #e1a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17eee",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 284.464,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72312,
    "c": 0.17689,
    "h": 316.8
  },
  "luminance": 0.3465
}

Semantic roles & 50–950 ramp

primary
#D17EEE
secondary
#DDF2D5
accent
#D90D41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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