#D17EEF#D17EEF

#D17EEF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.178 H 316.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D17EEF
RGBrgb(209, 126, 239)
HSLhsl(284, 78%, 72%)
HSVhsv(284, 47%, 94%)
CMYKcmyk(12.6%, 47.3%, 0%, 6.3%)
CIE-LABlab(65.52, 50.43, -44.14)
CIE-LCHlch(65.52, 67.02, 318.81°)
OKLaboklab(72.36% 0.1291 -0.1224)
OKLCHoklch(72.36% 0.178 316.5)
XYZxyz(49.3330, 34.7105, 85.7457)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EEF #9CEF7E
analogous
#997EEF #D17EEF #EF7ED5
triadic
#D17EEF #EFD17E #7EEFD1
tetradic
#D17EEF #EF997E #9CEF7E #7ED5EF
square
#D17EEF #EF997E #9CEF7E #7ED5EF
split-complementary
#D17EEF #D5EF7E #7EEF99
monochromatic
#A61BD8 #BE48E8 #D17EEF #E4B4F6 #F5E4FC

Accessibility & contrast

On white

2.64
#D17EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D17EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EEF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EEF#FFFFFF#000000##000000
##D17EEF1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#D08EAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17eef;
/* rgb */ color: rgb(209, 126, 239);
/* oklch */ color: oklch(72.4% 0.178 316.5);
Tailwind
colors: {
  custom: {
    50: '#e1a6f4',
    500: '#d17eef',
    950: '#000000',
  },
}
SCSS
$custom: #d17eef;
$custom-light: #e1a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17eef",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 284.071,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72361,
    "c": 0.17794,
    "h": 316.5
  },
  "luminance": 0.34709
}

Semantic roles & 50–950 ramp

primary
#D17EEF
secondary
#DEF3D6
accent
#DA0B42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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