#D166CC#D166CC

#D166CC is a light, vivid purple. Relative luminance 0.274; OKLCH L 67.3% C 0.183 H 329.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D166CC
RGBrgb(209, 102, 204)
HSLhsl(303, 54%, 61%)
HSVhsv(303, 51%, 82%)
CMYKcmyk(0%, 51.2%, 2.4%, 18%)
CIE-LABlab(59.36, 55.84, -34.22)
CIE-LCHlch(59.36, 65.49, 328.50°)
OKLaboklab(67.28% 0.1569 -0.0937)
OKLCHoklch(67.28% 0.183 329.2)
XYZxyz(41.9445, 27.4202, 60.1984)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166CC #66D16B
analogous
#A066D1 #D166CC #D16696
triadic
#D166CC #CCD166 #66CCD1
tetradic
#D166CC #D1A066 #66D16B #6696D1
square
#D166CC #D1A066 #66D16B #6696D1
split-complementary
#D166CC #96D166 #66D1A0
monochromatic
#912C8C #C03ABA #D166CC #DF95DC #EDC4EB

Accessibility & contrast

On white

3.24
#D166CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D166CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166CC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166CC#FFFFFF#000000##000000
##D166CC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#D77090
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d166cc;
/* rgb */ color: rgb(209, 102, 204);
/* oklch */ color: oklch(67.3% 0.183 329.2);
Tailwind
colors: {
  custom: {
    50: '#e196dc',
    500: '#d166cc',
    950: '#000000',
  },
}
SCSS
$custom: #d166cc;
$custom-light: #e196dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d166cc",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 302.804,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6728,
    "c": 0.18275,
    "h": 329.2
  },
  "luminance": 0.27418
}

Semantic roles & 50–950 ramp

primary
#D166CC
secondary
#B5DEB7
accent
#C12C24
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166CC

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

Preview Lab → · Contrast checker → · Palette generator →

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