#D166E6#D166E6

#D166E6 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.6% C 0.206 H 320.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D166E6
RGBrgb(209, 102, 230)
HSLhsl(290, 72%, 65%)
HSVhsv(290, 56%, 90%)
CMYKcmyk(9.1%, 55.7%, 0%, 9.8%)
CIE-LABlab(60.58, 60.55, -46.93)
CIE-LCHlch(60.58, 76.61, 322.22°)
OKLaboklab(68.57% 0.1599 -0.1303)
OKLCHoklch(68.57% 0.206 320.8)
XYZxyz(45.3271, 28.7733, 78.0138)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166E6 #7BE666
analogous
#9166E6 #D166E6 #E666BB
triadic
#D166E6 #E6D166 #66E6D1
tetradic
#D166E6 #E69166 #7BE666 #66BBE6
square
#D166E6 #E69166 #7BE666 #66BBE6
split-complementary
#D166E6 #BBE666 #66E691
monochromatic
#9B1DB4 #C131DD #D166E6 #E19BEF #F1CFF7

Accessibility & contrast

On white

3.11
#D166E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D166E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166E6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166E6#FFFFFF#000000##000000
##D166E61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AEA
Deuteranopia (green-blind)
#7296E3
Tritanopia (blue-blind)
#D3799D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d166e6;
/* rgb */ color: rgb(209, 102, 230);
/* oklch */ color: oklch(68.6% 0.206 320.8);
Tailwind
colors: {
  custom: {
    50: '#e296ee',
    500: '#d166e6',
    950: '#000000',
  },
}
SCSS
$custom: #d166e6;
$custom-light: #e296ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d166e6",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 290.156,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.20633,
    "h": 320.8
  },
  "luminance": 0.28771
}

Semantic roles & 50–950 ramp

primary
#D166E6
secondary
#C5EABE
accent
#D41231
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D166E6

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

Preview Lab → · Contrast checker → · Palette generator →

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