#D166D2#D166D2

#D166D2 is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.6% C 0.188 H 327.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#D166D2
RGBrgb(209, 102, 210)
HSLhsl(299, 55%, 61%)
HSVhsv(299, 51%, 82%)
CMYKcmyk(0.5%, 51.4%, 0%, 17.6%)
CIE-LABlab(59.63, 56.89, -37.19)
CIE-LCHlch(59.63, 67.97, 326.82°)
OKLaboklab(67.57% 0.1578 -0.1022)
OKLCHoklch(67.57% 0.188 327.1)
XYZxyz(42.6780, 27.7136, 64.0616)
Luminance0.2771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166D2 #67D266
analogous
#9B66D2 #D166D2 #D2669D
triadic
#D166D2 #D2D166 #66D2D1
tetradic
#D166D2 #D29B66 #67D266 #669DD2
square
#D166D2 #D29B66 #67D266 #669DD2
split-complementary
#D166D2 #9DD266 #66D29B
monochromatic
#922B93 #C139C2 #D166D2 #DF95E0 #EDC5EE

Accessibility & contrast

On white

3.21
#D166D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#D166D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166D2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166D2#FFFFFF#000000##000000
##D166D21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D6
Deuteranopia (green-blind)
#7C95CF
Tritanopia (blue-blind)
#D67293
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d166d2;
/* rgb */ color: rgb(209, 102, 210);
/* oklch */ color: oklch(67.6% 0.188 327.1);
Tailwind
colors: {
  custom: {
    50: '#e196e0',
    500: '#d166d2',
    950: '#000000',
  },
}
SCSS
$custom: #d166d2;
$custom-light: #e196e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d166d2",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 299.444,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.18802,
    "h": 327.1
  },
  "luminance": 0.27711
}

Semantic roles & 50–950 ramp

primary
#D166D2
secondary
#B6DEB6
accent
#C22325
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166D2

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

Preview Lab → · Contrast checker → · Palette generator →

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