#D166DE#D166DE

#D166DE is a light, vivid purple. Relative luminance 0.283; OKLCH L 68.2% C 0.199 H 323.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#D166DE
RGBrgb(209, 102, 222)
HSLhsl(294, 65%, 64%)
HSVhsv(294, 54%, 87%)
CMYKcmyk(5.9%, 54.1%, 0%, 12.9%)
CIE-LABlab(60.19, 59.06, -43.07)
CIE-LCHlch(60.19, 73.09, 323.90°)
OKLaboklab(68.16% 0.1592 -0.1192)
OKLCHoklch(68.16% 0.199 323.2)
XYZxyz(44.2294, 28.3342, 72.2324)
Luminance0.2833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166DE #73DE66
analogous
#9566DE #D166DE #DE66AF
triadic
#D166DE #DED166 #66DED1
tetradic
#D166DE #DE9566 #73DE66 #66AFDE
square
#D166DE #DE9566 #73DE66 #66AFDE
split-complementary
#D166DE #AFDE66 #66DE95
monochromatic
#9824A6 #C234D3 #D166DE #E098E9 #EFCBF4

Accessibility & contrast

On white

3.15
#D166DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#D166DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166DE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166DE#FFFFFF#000000##000000
##D166DE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#7695DB
Tritanopia (blue-blind)
#D47699
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d166de;
/* rgb */ color: rgb(209, 102, 222);
/* oklch */ color: oklch(68.2% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#e296e9',
    500: '#d166de',
    950: '#000000',
  },
}
SCSS
$custom: #d166de;
$custom-light: #e296e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d166de",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 293.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.19889,
    "h": 323.2
  },
  "luminance": 0.28332
}

Semantic roles & 50–950 ramp

primary
#D166DE
secondary
#BFE5BB
accent
#CC192D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D166DE

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

Preview Lab → · Contrast checker → · Palette generator →

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