#D166D0#D166D0

#D166D0 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.5% C 0.186 H 327.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D166D0
RGBrgb(209, 102, 208)
HSLhsl(301, 54%, 61%)
HSVhsv(301, 51%, 82%)
CMYKcmyk(0%, 51.2%, 0.5%, 18%)
CIE-LABlab(59.54, 56.54, -36.20)
CIE-LCHlch(59.54, 67.13, 327.37°)
OKLaboklab(67.47% 0.1575 -0.0994)
OKLCHoklch(67.47% 0.186 327.7)
XYZxyz(42.4304, 27.6146, 62.7575)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166D0 #66D167
analogous
#9C66D1 #D166D0 #D1669A
triadic
#D166D0 #D0D166 #66D0D1
tetradic
#D166D0 #D19C66 #66D167 #669AD1
square
#D166D0 #D19C66 #66D167 #669AD1
split-complementary
#D166D0 #9AD166 #66D19C
monochromatic
#912C90 #C03ABF #D166D0 #DF95DE #EDC4ED

Accessibility & contrast

On white

3.22
#D166D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D166D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166D0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166D0#FFFFFF#000000##000000
##D166D01.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D3
Deuteranopia (green-blind)
#7D94CD
Tritanopia (blue-blind)
#D77292
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d166d0;
/* rgb */ color: rgb(209, 102, 208);
/* oklch */ color: oklch(67.5% 0.186 327.7);
Tailwind
colors: {
  custom: {
    50: '#e196de',
    500: '#d166d0',
    950: '#000000',
  },
}
SCSS
$custom: #d166d0;
$custom-light: #e196de;
$custom-dark: #000000;
JSON
{
  "hex": "#d166d0",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 208
  },
  "hsl": {
    "h": 300.561,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.18625,
    "h": 327.7
  },
  "luminance": 0.27612
}

Semantic roles & 50–950 ramp

primary
#D166D0
secondary
#B5DEB6
accent
#C12624
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166D0

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

Preview Lab → · Contrast checker → · Palette generator →

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