#D166D6#D166D6

#D166D6 is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.8% C 0.192 H 325.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#D166D6
RGBrgb(209, 102, 214)
HSLhsl(297, 58%, 62%)
HSVhsv(297, 52%, 84%)
CMYKcmyk(2.3%, 52.3%, 0%, 16.1%)
CIE-LABlab(59.81, 57.60, -39.16)
CIE-LCHlch(59.81, 69.65, 325.79°)
OKLaboklab(67.76% 0.1583 -0.1079)
OKLCHoklch(67.76% 0.192 325.7)
XYZxyz(43.1825, 27.9154, 66.7190)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166D6 #6BD666
analogous
#9966D6 #D166D6 #D666A3
triadic
#D166D6 #D6D166 #66D6D1
tetradic
#D166D6 #D69966 #6BD666 #66A3D6
square
#D166D6 #D69966 #6BD666 #66A3D6
split-complementary
#D166D6 #A3D666 #66D699
monochromatic
#942999 #C236C9 #D166D6 #E096E3 #EEC7F0

Accessibility & contrast

On white

3.19
#D166D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#D166D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166D6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166D6#FFFFFF#000000##000000
##D166D61.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987DA
Deuteranopia (green-blind)
#7A95D3
Tritanopia (blue-blind)
#D67395
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d166d6;
/* rgb */ color: rgb(209, 102, 214);
/* oklch */ color: oklch(67.8% 0.192 325.7);
Tailwind
colors: {
  custom: {
    50: '#e196e3',
    500: '#d166d6',
    950: '#000000',
  },
}
SCSS
$custom: #d166d6;
$custom-light: #e196e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d166d6",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 297.321,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.19159,
    "h": 325.7
  },
  "luminance": 0.27913
}

Semantic roles & 50–950 ramp

primary
#D166D6
secondary
#B9E1B7
accent
#C52028
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166D6

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

Preview Lab → · Contrast checker → · Palette generator →

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