#D166F4#D166F4

#D166F4 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.3% C 0.220 H 317.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D166F4
RGBrgb(209, 102, 244)
HSLhsl(285, 87%, 68%)
HSVhsv(285, 58%, 96%)
CMYKcmyk(14.3%, 58.2%, 0%, 4.3%)
CIE-LABlab(61.30, 63.24, -53.57)
CIE-LCHlch(61.30, 82.88, 319.73°)
OKLaboklab(69.33% 0.1607 -0.1497)
OKLCHoklch(69.33% 0.22 317)
XYZxyz(47.3726, 29.5915, 88.7867)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166F4 #89F466
analogous
#8A66F4 #D166F4 #F466D0
triadic
#D166F4 #F4D166 #66F4D1
tetradic
#D166F4 #F48A66 #89F466 #66D0F4
square
#D166F4 #F48A66 #89F466 #66D0F4
split-complementary
#D166F4 #D0F466 #66F48A
monochromatic
#A10FD1 #C02DF0 #D166F4 #E29FF8 #F3D8FC

Accessibility & contrast

On white

3.04
#D166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D166F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166F4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166F4#FFFFFF#000000##000000
##D166F41.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF8
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#D07EA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d166f4;
/* rgb */ color: rgb(209, 102, 244);
/* oklch */ color: oklch(69.3% 0.220 317.0);
Tailwind
colors: {
  custom: {
    50: '#e297f8',
    500: '#d166f4',
    950: '#000000',
  },
}
SCSS
$custom: #d166f4;
$custom-light: #e297f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d166f4",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 285.211,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.21963,
    "h": 317
  },
  "luminance": 0.2959
}

Semantic roles & 50–950 ramp

primary
#D166F4
secondary
#D0F1C5
accent
#E3023A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166F4

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

Preview Lab → · Contrast checker → · Palette generator →

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