#D166C8#D166C8

#D166C8 is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.1% C 0.179 H 330.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#D166C8
RGBrgb(209, 102, 200)
HSLhsl(305, 54%, 61%)
HSVhsv(305, 51%, 82%)
CMYKcmyk(0%, 51.2%, 4.3%, 18%)
CIE-LABlab(59.19, 55.15, -32.22)
CIE-LCHlch(59.19, 63.87, 329.71°)
OKLaboklab(67.09% 0.1562 -0.088)
OKLCHoklch(67.09% 0.179 330.6)
XYZxyz(41.4709, 27.2308, 57.7041)
Luminance0.2723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166C8 #66D16F
analogous
#A466D1 #D166C8 #D16692
triadic
#D166C8 #C8D166 #66C8D1
tetradic
#D166C8 #D1A466 #66D16F #6692D1
square
#D166C8 #D1A466 #66D16F #6692D1
split-complementary
#D166C8 #92D166 #66D1A4
monochromatic
#912C88 #C03AB5 #D166C8 #DF95D9 #EDC4EA

Accessibility & contrast

On white

3.26
#D166C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#D166C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166C8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166C8#FFFFFF#000000##000000
##D166C81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#8094C5
Tritanopia (blue-blind)
#D86F8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d166c8;
/* rgb */ color: rgb(209, 102, 200);
/* oklch */ color: oklch(67.1% 0.179 330.6);
Tailwind
colors: {
  custom: {
    50: '#e196d9',
    500: '#d166c8',
    950: '#000000',
  },
}
SCSS
$custom: #d166c8;
$custom-light: #e196d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d166c8",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 305.047,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67094,
    "c": 0.17931,
    "h": 330.6
  },
  "luminance": 0.27228
}

Semantic roles & 50–950 ramp

primary
#D166C8
secondary
#B5DEB9
accent
#C13124
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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