#D166DB#D166DB

#D166DB is a light, vivid purple. Relative luminance 0.282; OKLCH L 68.0% C 0.196 H 324.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#D166DB
RGBrgb(209, 102, 219)
HSLhsl(295, 62%, 63%)
HSVhsv(295, 53%, 86%)
CMYKcmyk(4.6%, 53.4%, 0%, 14.1%)
CIE-LABlab(60.05, 58.51, -41.61)
CIE-LCHlch(60.05, 71.79, 324.58°)
OKLaboklab(68.01% 0.1589 -0.115)
OKLCHoklch(68.01% 0.196 324.1)
XYZxyz(43.8309, 28.1748, 70.1336)
Luminance0.2817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166DB #70DB66
analogous
#9666DB #D166DB #DB66AA
triadic
#D166DB #DBD166 #66DBD1
tetradic
#D166DB #DB9666 #70DB66 #66AADB
square
#D166DB #DB9666 #70DB66 #66AADB
split-complementary
#D166DB #AADB66 #66DB96
monochromatic
#9626A1 #C234CF #D166DB #E098E7 #EFC9F2

Accessibility & contrast

On white

3.17
#D166DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#D166DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166DB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166DB#FFFFFF#000000##000000
##D166DB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#7895D8
Tritanopia (blue-blind)
#D57597
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d166db;
/* rgb */ color: rgb(209, 102, 219);
/* oklch */ color: oklch(68.0% 0.196 324.1);
Tailwind
colors: {
  custom: {
    50: '#e296e6',
    500: '#d166db',
    950: '#000000',
  },
}
SCSS
$custom: #d166db;
$custom-light: #e296e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d166db",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 294.872,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68008,
    "c": 0.19613,
    "h": 324.1
  },
  "luminance": 0.28173
}

Semantic roles & 50–950 ramp

primary
#D166DB
secondary
#BDE3B9
accent
#CA1C2B
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D166DB

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

Preview Lab → · Contrast checker → · Palette generator →

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