#D166FA#D166FA

#D166FA is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.7% C 0.225 H 315.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D166FA
RGBrgb(209, 102, 250)
HSLhsl(283, 94%, 69%)
HSVhsv(283, 59%, 98%)
CMYKcmyk(16.4%, 59.2%, 0%, 2%)
CIE-LABlab(61.62, 64.42, -56.38)
CIE-LCHlch(61.62, 85.61, 318.81°)
OKLaboklab(69.67% 0.1609 -0.1579)
OKLCHoklch(69.67% 0.225 315.5)
XYZxyz(48.2985, 29.9618, 93.6629)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166FA #8FFA66
analogous
#8766FA #D166FA #FA66D9
triadic
#D166FA #FAD166 #66FAD1
tetradic
#D166FA #FA8766 #8FFA66 #66D9FA
square
#D166FA #FA8766 #8FFA66 #66D9FA
split-complementary
#D166FA #D9FA66 #66FA87
monochromatic
#A307DE #BF2BF8 #D166FA #E3A1FC #F5DDFE

Accessibility & contrast

On white

3.00
#D166FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#D166FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166FA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166FA#FFFFFF#000000##000000
##D166FA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFF
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#CE80A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d166fa;
/* rgb */ color: rgb(209, 102, 250);
/* oklch */ color: oklch(69.7% 0.225 315.5);
Tailwind
colors: {
  custom: {
    50: '#e297fc',
    500: '#d166fa',
    950: '#000000',
  },
}
SCSS
$custom: #d166fa;
$custom-light: #e297fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d166fa",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 283.378,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6967,
    "c": 0.2254,
    "h": 315.5
  },
  "luminance": 0.2996
}

Semantic roles & 50–950 ramp

primary
#D166FA
secondary
#D4F4C8
accent
#E60040
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D166FA

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

Preview Lab → · Contrast checker → · Palette generator →

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