#D166CA#D166CA

#D166CA is a light, vivid purple. Relative luminance 0.273; OKLCH L 67.2% C 0.181 H 329.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#D166CA
RGBrgb(209, 102, 202)
HSLhsl(304, 54%, 61%)
HSVhsv(304, 51%, 82%)
CMYKcmyk(0%, 51.2%, 3.3%, 18%)
CIE-LABlab(59.27, 55.49, -33.22)
CIE-LCHlch(59.27, 64.67, 329.09°)
OKLaboklab(67.19% 0.1566 -0.0908)
OKLCHoklch(67.19% 0.181 329.9)
XYZxyz(41.7061, 27.3249, 58.9432)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166CA #66D16D
analogous
#A266D1 #D166CA #D16694
triadic
#D166CA #CAD166 #66CAD1
tetradic
#D166CA #D1A266 #66D16D #6694D1
square
#D166CA #D1A266 #66D16D #6694D1
split-complementary
#D166CA #94D166 #66D1A2
monochromatic
#912C8A #C03AB7 #D166CA #DF95DA #EDC4EB

Accessibility & contrast

On white

3.25
#D166CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#D166CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166CA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166CA#FFFFFF#000000##000000
##D166CA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CD
Deuteranopia (green-blind)
#7F94C7
Tritanopia (blue-blind)
#D8708F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d166ca;
/* rgb */ color: rgb(209, 102, 202);
/* oklch */ color: oklch(67.2% 0.181 329.9);
Tailwind
colors: {
  custom: {
    50: '#e196da',
    500: '#d166ca',
    950: '#000000',
  },
}
SCSS
$custom: #d166ca;
$custom-light: #e196da;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ca",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 303.925,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.18103,
    "h": 329.9
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#D166CA
secondary
#B5DEB8
accent
#C12F24
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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