#D166CF#D166CF

#D166CF is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.4% C 0.185 H 328.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#D166CF
RGBrgb(209, 102, 207)
HSLhsl(301, 54%, 61%)
HSVhsv(301, 51%, 82%)
CMYKcmyk(0%, 51.2%, 1%, 18%)
CIE-LABlab(59.49, 56.36, -35.71)
CIE-LCHlch(59.49, 66.72, 327.64°)
OKLaboklab(67.42% 0.1574 -0.098)
OKLCHoklch(67.42% 0.185 328.1)
XYZxyz(42.3077, 27.5655, 62.1116)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166CF #66D168
analogous
#9D66D1 #D166CF #D16699
triadic
#D166CF #CFD166 #66CFD1
tetradic
#D166CF #D19D66 #66D168 #6699D1
square
#D166CF #D19D66 #66D168 #6699D1
split-complementary
#D166CF #99D166 #66D19D
monochromatic
#912C8F #C03ABE #D166CF #DF95DE #EDC4ED

Accessibility & contrast

On white

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

On black

6.51
#D166CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166CF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166CF#FFFFFF#000000##000000
##D166CF1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#D77191
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d166cf;
/* rgb */ color: rgb(209, 102, 207);
/* oklch */ color: oklch(67.4% 0.185 328.1);
Tailwind
colors: {
  custom: {
    50: '#e196de',
    500: '#d166cf',
    950: '#000000',
  },
}
SCSS
$custom: #d166cf;
$custom-light: #e196de;
$custom-dark: #000000;
JSON
{
  "hex": "#d166cf",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 301.121,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.18537,
    "h": 328.1
  },
  "luminance": 0.27563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D166CF

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

Preview Lab → · Contrast checker → · Palette generator →

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