#D166F3#D166F3

#D166F3 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.3% C 0.219 H 317.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D166F3
RGBrgb(209, 102, 243)
HSLhsl(286, 85%, 68%)
HSVhsv(286, 58%, 95%)
CMYKcmyk(14%, 58%, 0%, 4.7%)
CIE-LABlab(61.25, 63.04, -53.10)
CIE-LCHlch(61.25, 82.43, 319.89°)
OKLaboklab(69.28% 0.1607 -0.1483)
OKLCHoklch(69.28% 0.219 317.3)
XYZxyz(47.2212, 29.5309, 87.9893)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166F3 #88F366
analogous
#8A66F3 #D166F3 #F366CE
triadic
#D166F3 #F3D166 #66F3D1
tetradic
#D166F3 #F38A66 #88F366 #66CEF3
square
#D166F3 #F38A66 #88F366 #66CEF3
split-complementary
#D166F3 #CEF366 #66F38A
monochromatic
#A110CE #C02DEF #D166F3 #E29FF7 #F3D7FC

Accessibility & contrast

On white

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

On black

6.91
#D166F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166F3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166F3#FFFFFF#000000##000000
##D166F31.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#D07DA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d166f3;
/* rgb */ color: rgb(209, 102, 243);
/* oklch */ color: oklch(69.3% 0.219 317.3);
Tailwind
colors: {
  custom: {
    50: '#e297f8',
    500: '#d166f3',
    950: '#000000',
  },
}
SCSS
$custom: #d166f3;
$custom-light: #e297f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d166f3",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 285.532,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69277,
    "c": 0.21867,
    "h": 317.3
  },
  "luminance": 0.29529
}

Semantic roles & 50–950 ramp

primary
#D166F3
secondary
#CFF0C5
accent
#E20439
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D166F3

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

Preview Lab → · Contrast checker → · Palette generator →

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