#D166F6#D166F6

#D166F6 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.4% C 0.222 H 316.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D166F6
RGBrgb(209, 102, 246)
HSLhsl(285, 89%, 68%)
HSVhsv(285, 59%, 96%)
CMYKcmyk(15%, 58.5%, 0%, 3.5%)
CIE-LABlab(61.41, 63.63, -54.51)
CIE-LCHlch(61.41, 83.79, 319.41°)
OKLaboklab(69.44% 0.1608 -0.1524)
OKLCHoklch(69.44% 0.222 316.5)
XYZxyz(47.6779, 29.7136, 90.3947)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166F6 #8BF666
analogous
#8966F6 #D166F6 #F666D3
triadic
#D166F6 #F6D166 #66F6D1
tetradic
#D166F6 #F68966 #8BF666 #66D3F6
square
#D166F6 #F68966 #8BF666 #66D3F6
split-complementary
#D166F6 #D3F666 #66F689
monochromatic
#A20DD5 #C02CF3 #D166F6 #E2A0F9 #F4DAFD

Accessibility & contrast

On white

3.02
#D166F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D166F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166F6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166F6#FFFFFF#000000##000000
##D166F61.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#6897F2
Tritanopia (blue-blind)
#CF7EA5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d166f6;
/* rgb */ color: rgb(209, 102, 246);
/* oklch */ color: oklch(69.4% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#e297fa',
    500: '#d166f6',
    950: '#000000',
  },
}
SCSS
$custom: #d166f6;
$custom-light: #e297fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d166f6",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 284.583,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69444,
    "c": 0.22154,
    "h": 316.5
  },
  "luminance": 0.29712
}

Semantic roles & 50–950 ramp

primary
#D166F6
secondary
#D1F2C6
accent
#E6003B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166F6

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

Preview Lab → · Contrast checker → · Palette generator →

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