#D166F9#D166F9

#D166F9 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.6% C 0.224 H 315.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D166F9
RGBrgb(209, 102, 249)
HSLhsl(284, 92%, 69%)
HSVhsv(284, 59%, 98%)
CMYKcmyk(16.1%, 59%, 0%, 2.4%)
CIE-LABlab(61.57, 64.22, -55.91)
CIE-LCHlch(61.57, 85.15, 318.96°)
OKLaboklab(69.61% 0.1609 -0.1565)
OKLCHoklch(69.61% 0.224 315.8)
XYZxyz(48.1421, 29.8992, 92.8393)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166F9 #8EF966
analogous
#8866F9 #D166F9 #F966D8
triadic
#D166F9 #F9D166 #66F9D1
tetradic
#D166F9 #F98866 #8EF966 #66D8F9
square
#D166F9 #F98866 #8EF966 #66D8F9
split-complementary
#D166F9 #D8F966 #66F988
monochromatic
#A209DC #BF2BF7 #D166F9 #E3A1FB #F4DCFE

Accessibility & contrast

On white

3.01
#D166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D166F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166F9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166F9#FFFFFF#000000##000000
##D166F91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#CF7FA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d166f9;
/* rgb */ color: rgb(209, 102, 249);
/* oklch */ color: oklch(69.6% 0.224 315.8);
Tailwind
colors: {
  custom: {
    50: '#e297fc',
    500: '#d166f9',
    950: '#000000',
  },
}
SCSS
$custom: #d166f9;
$custom-light: #e297fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d166f9",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 283.673,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.22444,
    "h": 315.8
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#D166F9
secondary
#D3F3C8
accent
#E6003E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166F9

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

Preview Lab → · Contrast checker → · Palette generator →

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