#D166C0#D166C0

#D166C0 is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.7% C 0.173 H 333.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D166C0
RGBrgb(209, 102, 192)
HSLhsl(310, 54%, 61%)
HSVhsv(310, 51%, 82%)
CMYKcmyk(0%, 51.2%, 8.1%, 18%)
CIE-LABlab(58.85, 53.80, -28.18)
CIE-LCHlch(58.85, 60.74, 332.35°)
OKLaboklab(66.74% 0.1548 -0.0765)
OKLCHoklch(66.74% 0.173 333.7)
XYZxyz(40.5603, 26.8665, 52.9084)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166C0 #66D177
analogous
#AC66D1 #D166C0 #D1668A
triadic
#D166C0 #C0D166 #66C0D1
tetradic
#D166C0 #D1AC66 #66D177 #668AD1
square
#D166C0 #D1AC66 #66D177 #668AD1
split-complementary
#D166C0 #8AD166 #66D1AC
monochromatic
#912C81 #C03AAB #D166C0 #DF95D3 #EDC4E7

Accessibility & contrast

On white

3.30
#D166C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D166C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166C0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166C0#FFFFFF#000000##000000
##D166C01.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6584C3
Deuteranopia (green-blind)
#8393BD
Tritanopia (blue-blind)
#D96D8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d166c0;
/* rgb */ color: rgb(209, 102, 192);
/* oklch */ color: oklch(66.7% 0.173 333.7);
Tailwind
colors: {
  custom: {
    50: '#e196d3',
    500: '#d166c0',
    950: '#000000',
  },
}
SCSS
$custom: #d166c0;
$custom-light: #e196d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d166c0",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 192
  },
  "hsl": {
    "h": 309.533,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66735,
    "c": 0.17265,
    "h": 333.7
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#D166C0
secondary
#B5DEBC
accent
#C13D24
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D166C0

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

Preview Lab → · Contrast checker → · Palette generator →

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