#D166E9#D166E9

#D166E9 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.7% C 0.209 H 320.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D166E9
RGBrgb(209, 102, 233)
HSLhsl(289, 75%, 66%)
HSVhsv(289, 56%, 91%)
CMYKcmyk(10.3%, 56.2%, 0%, 8.6%)
CIE-LABlab(60.73, 61.12, -48.36)
CIE-LCHlch(60.73, 77.94, 321.64°)
OKLaboklab(68.73% 0.1601 -0.1345)
OKLCHoklch(68.73% 0.209 320)
XYZxyz(45.7520, 28.9432, 80.2516)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166E9 #7EE966
analogous
#8F66E9 #D166E9 #E966BF
triadic
#D166E9 #E9D166 #66E9D1
tetradic
#D166E9 #E98F66 #7EE966 #66BFE9
square
#D166E9 #E98F66 #7EE966 #66BFE9
split-complementary
#D166E9 #BFE966 #66E98F
monochromatic
#9D1BBA #C130E1 #D166E9 #E19CF1 #F1D1F8

Accessibility & contrast

On white

3.09
#D166E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D166E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166E9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166E9#FFFFFF#000000##000000
##D166E91.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BED
Deuteranopia (green-blind)
#7096E6
Tritanopia (blue-blind)
#D27A9E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d166e9;
/* rgb */ color: rgb(209, 102, 233);
/* oklch */ color: oklch(68.7% 0.209 320.0);
Tailwind
colors: {
  custom: {
    50: '#e296f0',
    500: '#d166e9',
    950: '#000000',
  },
}
SCSS
$custom: #d166e9;
$custom-light: #e296f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d166e9",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 289.008,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68733,
    "c": 0.20915,
    "h": 320
  },
  "luminance": 0.28941
}

Semantic roles & 50–950 ramp

primary
#D166E9
secondary
#C8EBC0
accent
#D70E33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166E9

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

Preview Lab → · Contrast checker → · Palette generator →

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