#D166CD#D166CD

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

Color values

HEX#D166CD
RGBrgb(209, 102, 205)
HSLhsl(302, 54%, 61%)
HSVhsv(302, 51%, 82%)
CMYKcmyk(0%, 51.2%, 1.9%, 18%)
CIE-LABlab(59.41, 56.01, -34.71)
CIE-LCHlch(59.41, 65.90, 328.21°)
OKLaboklab(67.33% 0.1571 -0.0951)
OKLCHoklch(67.33% 0.184 328.8)
XYZxyz(42.0648, 27.4683, 60.8321)
Luminance0.2747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166CD #66D16A
analogous
#9F66D1 #D166CD #D16697
triadic
#D166CD #CDD166 #66CDD1
tetradic
#D166CD #D19F66 #66D16A #6697D1
square
#D166CD #D19F66 #66D16A #6697D1
split-complementary
#D166CD #97D166 #66D19F
monochromatic
#912C8D #C03ABB #D166CD #DF95DC #EDC4EC

Accessibility & contrast

On white

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

On black

6.49
#D166CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166CD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166CD#FFFFFF#000000##000000
##D166CD1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#D77190
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d166cd;
/* rgb */ color: rgb(209, 102, 205);
/* oklch */ color: oklch(67.3% 0.184 328.8);
Tailwind
colors: {
  custom: {
    50: '#e196dc',
    500: '#d166cd',
    950: '#000000',
  },
}
SCSS
$custom: #d166cd;
$custom-light: #e196dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d166cd",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 302.243,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67326,
    "c": 0.18362,
    "h": 328.8
  },
  "luminance": 0.27466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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