#D166CE#D166CE

#D166CE is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.4% C 0.184 H 328.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#D166CE
RGBrgb(209, 102, 206)
HSLhsl(302, 54%, 61%)
HSVhsv(302, 51%, 82%)
CMYKcmyk(0%, 51.2%, 1.4%, 18%)
CIE-LABlab(59.45, 56.19, -35.21)
CIE-LCHlch(59.45, 66.31, 327.92°)
OKLaboklab(67.37% 0.1572 -0.0965)
OKLCHoklch(67.37% 0.184 328.4)
XYZxyz(42.1859, 27.5168, 61.4698)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166CE #66D169
analogous
#9E66D1 #D166CE #D16698
triadic
#D166CE #CED166 #66CED1
tetradic
#D166CE #D19E66 #66D169 #6698D1
square
#D166CE #D19E66 #66D169 #6698D1
split-complementary
#D166CE #98D166 #66D19E
monochromatic
#912C8E #C03ABC #D166CE #DF95DD #EDC4EC

Accessibility & contrast

On white

3.23
#D166CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#D166CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166CE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166CE#FFFFFF#000000##000000
##D166CE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d166ce;
/* rgb */ color: rgb(209, 102, 206);
/* oklch */ color: oklch(67.4% 0.184 328.4);
Tailwind
colors: {
  custom: {
    50: '#e196dd',
    500: '#d166ce',
    950: '#000000',
  },
}
SCSS
$custom: #d166ce;
$custom-light: #e196dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ce",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 301.682,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67374,
    "c": 0.18449,
    "h": 328.4
  },
  "luminance": 0.27514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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