#D17EED#D17EED

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

Color values

HEX#D17EED
RGBrgb(209, 126, 237)
HSLhsl(285, 76%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.8%, 46.8%, 0%, 7.1%)
CIE-LABlab(65.43, 50.03, -43.18)
CIE-LCHlch(65.43, 66.09, 319.21°)
OKLaboklab(72.26% 0.1289 -0.1196)
OKLCHoklch(72.26% 0.176 317.1)
XYZxyz(49.0392, 34.5930, 84.1982)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EED #9AED7E
analogous
#997EED #D17EED #ED7ED1
triadic
#D17EED #EDD17E #7EEDD1
tetradic
#D17EED #ED997E #9AED7E #7ED1ED
square
#D17EED #ED997E #9AED7E #7ED1ED
split-complementary
#D17EED #D1ED7E #7EED99
monochromatic
#A51DD3 #BE48E6 #D17EED #E4B4F4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.92
#D17EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EED
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EED#FFFFFF#000000##000000
##D17EED1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#81A2EA
Tritanopia (blue-blind)
#D08EAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17eed;
/* rgb */ color: rgb(209, 126, 237);
/* oklch */ color: oklch(72.3% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#e1a6f3',
    500: '#d17eed',
    950: '#000000',
  },
}
SCSS
$custom: #d17eed;
$custom-light: #e1a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17eed",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 284.865,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72262,
    "c": 0.17584,
    "h": 317.1
  },
  "luminance": 0.34591
}

Semantic roles & 50–950 ramp

primary
#D17EED
secondary
#DCF2D5
accent
#D80E41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D17EED

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

Preview Lab → · Contrast checker → · Palette generator →

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