#D166F1#D166F1

#D166F1 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.2% C 0.217 H 317.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D166F1
RGBrgb(209, 102, 241)
HSLhsl(286, 83%, 67%)
HSVhsv(286, 58%, 95%)
CMYKcmyk(13.3%, 57.7%, 0%, 5.5%)
CIE-LABlab(61.14, 62.66, -52.16)
CIE-LCHlch(61.14, 81.53, 320.22°)
OKLaboklab(69.17% 0.1606 -0.1456)
OKLCHoklch(69.17% 0.217 317.8)
XYZxyz(46.9208, 29.4107, 86.4073)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166F1 #86F166
analogous
#8C66F1 #D166F1 #F166CC
triadic
#D166F1 #F1D166 #66F1D1
tetradic
#D166F1 #F18C66 #86F166 #66CCF1
square
#D166F1 #F18C66 #86F166 #66CCF1
split-complementary
#D166F1 #CCF166 #66F18C
monochromatic
#A012CA #C02EEC #D166F1 #E29EF6 #F3D6FB

Accessibility & contrast

On white

3.05
#D166F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D166F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166F1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166F1#FFFFFF#000000##000000
##D166F11.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF5
Deuteranopia (green-blind)
#6B97ED
Tritanopia (blue-blind)
#D07DA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d166f1;
/* rgb */ color: rgb(209, 102, 241);
/* oklch */ color: oklch(69.2% 0.217 317.8);
Tailwind
colors: {
  custom: {
    50: '#e297f6',
    500: '#d166f1',
    950: '#000000',
  },
}
SCSS
$custom: #d166f1;
$custom-light: #e297f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d166f1",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 286.187,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69166,
    "c": 0.21676,
    "h": 317.8
  },
  "luminance": 0.29409
}

Semantic roles & 50–950 ramp

primary
#D166F1
secondary
#CEEFC3
accent
#E00638
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166F1

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

Preview Lab → · Contrast checker → · Palette generator →

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