#D17DEB#D17DEB

#D17DEB is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.175 H 317.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D17DEB
RGBrgb(209, 125, 235)
HSLhsl(286, 73%, 71%)
HSVhsv(286, 47%, 92%)
CMYKcmyk(11.1%, 46.8%, 0%, 7.8%)
CIE-LABlab(65.14, 50.15, -42.53)
CIE-LCHlch(65.14, 65.75, 319.70°)
OKLaboklab(72.02% 0.1299 -0.1178)
OKLCHoklch(72.02% 0.175 317.8)
XYZxyz(48.6214, 34.2223, 82.6255)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DEB #97EB7D
analogous
#9A7DEB #D17DEB #EB7DCE
triadic
#D17DEB #EBD17D #7DEBD1
tetradic
#D17DEB #EB9A7D #97EB7D #7DCEEB
square
#D17DEB #EB9A7D #97EB7D #7DCEEB
split-complementary
#D17DEB #CEEB7D #7DEB9A
monochromatic
#A520CE #BE48E3 #D17DEB #E4B2F3 #F6E4FB

Accessibility & contrast

On white

2.68
#D17DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D17DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DEB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DEB#FFFFFF#000000##000000
##D17DEB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#D18CA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d17deb;
/* rgb */ color: rgb(209, 125, 235);
/* oklch */ color: oklch(72.0% 0.175 317.8);
Tailwind
colors: {
  custom: {
    50: '#e1a5f2',
    500: '#d17deb',
    950: '#000000',
  },
}
SCSS
$custom: #d17deb;
$custom-light: #e1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d17deb",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 285.818,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72015,
    "c": 0.17537,
    "h": 317.8
  },
  "luminance": 0.34221
}

Semantic roles & 50–950 ramp

primary
#D17DEB
secondary
#DAF1D3
accent
#D5103F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D17DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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