#D166D3#D166D3

#D166D3 is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.6% C 0.189 H 326.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#D166D3
RGBrgb(209, 102, 211)
HSLhsl(299, 55%, 61%)
HSVhsv(299, 52%, 83%)
CMYKcmyk(0.9%, 51.7%, 0%, 17.3%)
CIE-LABlab(59.67, 57.07, -37.69)
CIE-LCHlch(59.67, 68.39, 326.56°)
OKLaboklab(67.61% 0.1579 -0.1036)
OKLCHoklch(67.61% 0.189 326.7)
XYZxyz(42.8029, 27.7636, 64.7198)
Luminance0.2776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166D3 #68D366
analogous
#9B66D3 #D166D3 #D3669F
triadic
#D166D3 #D3D166 #66D3D1
tetradic
#D166D3 #D39B66 #68D366 #669FD3
square
#D166D3 #D39B66 #68D366 #669FD3
split-complementary
#D166D3 #9FD366 #66D39B
monochromatic
#922B94 #C138C4 #D166D3 #DF96E1 #EEC5EE

Accessibility & contrast

On white

3.21
#D166D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#D166D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166D3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166D3#FFFFFF#000000##000000
##D166D31.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D7
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#D67293
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d166d3;
/* rgb */ color: rgb(209, 102, 211);
/* oklch */ color: oklch(67.6% 0.189 326.7);
Tailwind
colors: {
  custom: {
    50: '#e196e1',
    500: '#d166d3',
    950: '#000000',
  },
}
SCSS
$custom: #d166d3;
$custom-light: #e196e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d166d3",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 298.899,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.18891,
    "h": 326.7
  },
  "luminance": 0.27761
}

Semantic roles & 50–950 ramp

primary
#D166D3
secondary
#B7DFB6
accent
#C32326
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166D3

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

Preview Lab → · Contrast checker → · Palette generator →

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