#D166EE#D166EE

#D166EE is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.0% C 0.214 H 318.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D166EE
RGBrgb(209, 102, 238)
HSLhsl(287, 80%, 67%)
HSVhsv(287, 57%, 93%)
CMYKcmyk(12.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(60.99, 62.07, -50.74)
CIE-LCHlch(60.99, 80.18, 320.74°)
OKLaboklab(69% 0.1605 -0.1414)
OKLCHoklch(69% 0.214 318.6)
XYZxyz(46.4764, 29.2330, 84.0667)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166EE #83EE66
analogous
#8D66EE #D166EE #EE66C7
triadic
#D166EE #EED166 #66EED1
tetradic
#D166EE #EE8D66 #83EE66 #66C7EE
square
#D166EE #EE8D66 #83EE66 #66C7EE
split-complementary
#D166EE #C7EE66 #66EE8D
monochromatic
#9F16C4 #C02FE8 #D166EE #E29DF4 #F2D4FA

Accessibility & contrast

On white

3.07
#D166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166EE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166EE#FFFFFF#000000##000000
##D166EE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#6D97EA
Tritanopia (blue-blind)
#D17CA1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d166ee;
/* rgb */ color: rgb(209, 102, 238);
/* oklch */ color: oklch(69.0% 0.214 318.6);
Tailwind
colors: {
  custom: {
    50: '#e297f4',
    500: '#d166ee',
    950: '#000000',
  },
}
SCSS
$custom: #d166ee;
$custom-light: #e297f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ee",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 287.206,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69002,
    "c": 0.21389,
    "h": 318.6
  },
  "luminance": 0.29231
}

Semantic roles & 50–950 ramp

primary
#D166EE
secondary
#CBEEC2
accent
#DC0936
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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