#D166E1#D166E1

#D166E1 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.3% C 0.202 H 322.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D166E1
RGBrgb(209, 102, 225)
HSLhsl(292, 67%, 64%)
HSVhsv(292, 55%, 88%)
CMYKcmyk(7.1%, 54.7%, 0%, 11.8%)
CIE-LABlab(60.33, 59.61, -44.52)
CIE-LCHlch(60.33, 74.40, 323.25°)
OKLaboklab(68.31% 0.1595 -0.1234)
OKLCHoklch(68.31% 0.202 322.3)
XYZxyz(44.6350, 28.4964, 74.3688)
Luminance0.2849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166E1 #76E166
analogous
#9466E1 #D166E1 #E166B4
triadic
#D166E1 #E1D166 #66E1D1
tetradic
#D166E1 #E19466 #76E166 #66B4E1
square
#D166E1 #E19466 #76E166 #66B4E1
split-complementary
#D166E1 #B4E166 #66E194
monochromatic
#9922AB #C233D7 #D166E1 #E099EB #F0CCF5

Accessibility & contrast

On white

3.13
#D166E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D166E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166E1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166E1#FFFFFF#000000##000000
##D166E11.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE5
Deuteranopia (green-blind)
#7596DE
Tritanopia (blue-blind)
#D4779A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d166e1;
/* rgb */ color: rgb(209, 102, 225);
/* oklch */ color: oklch(68.3% 0.202 322.3);
Tailwind
colors: {
  custom: {
    50: '#e296eb',
    500: '#d166e1',
    950: '#000000',
  },
}
SCSS
$custom: #d166e1;
$custom-light: #e296eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d166e1",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 292.195,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68313,
    "c": 0.20167,
    "h": 322.3
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#D166E1
secondary
#C2E7BC
accent
#CF162E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D166E1

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

Preview Lab → · Contrast checker → · Palette generator →

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