#D166ED#D166ED

#D166ED is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 68.9% C 0.213 H 318.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D166ED
RGBrgb(209, 102, 237)
HSLhsl(288, 79%, 66%)
HSVhsv(288, 57%, 93%)
CMYKcmyk(11.8%, 57%, 0%, 7.1%)
CIE-LABlab(60.94, 61.88, -50.27)
CIE-LCHlch(60.94, 79.73, 320.91°)
OKLaboklab(68.95% 0.1604 -0.1401)
OKLCHoklch(68.95% 0.213 318.9)
XYZxyz(46.3299, 29.1744, 83.2951)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166ED #82ED66
analogous
#8E66ED #D166ED #ED66C5
triadic
#D166ED #EDD166 #66EDD1
tetradic
#D166ED #ED8E66 #82ED66 #66C5ED
square
#D166ED #ED8E66 #82ED66 #66C5ED
split-complementary
#D166ED #C5ED66 #66ED8E
monochromatic
#9E17C2 #C12FE7 #D166ED #E19DF3 #F2D4FA

Accessibility & contrast

On white

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

On black

6.83
#D166ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166ED
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166ED#FFFFFF#000000##000000
##D166ED1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#D17BA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d166ed;
/* rgb */ color: rgb(209, 102, 237);
/* oklch */ color: oklch(68.9% 0.213 318.9);
Tailwind
colors: {
  custom: {
    50: '#e297f3',
    500: '#d166ed',
    950: '#000000',
  },
}
SCSS
$custom: #d166ed;
$custom-light: #e297f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ed",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 287.556,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.21294,
    "h": 318.9
  },
  "luminance": 0.29172
}

Semantic roles & 50–950 ramp

primary
#D166ED
secondary
#CBEDC2
accent
#DB0A36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166ED

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

Preview Lab → · Contrast checker → · Palette generator →

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