#D166FD#D166FD

#D166FD is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.8% C 0.228 H 314.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D166FD
RGBrgb(209, 102, 253)
HSLhsl(283, 97%, 70%)
HSVhsv(283, 60%, 99%)
CMYKcmyk(17.4%, 59.7%, 0%, 0.8%)
CIE-LABlab(61.78, 65.02, -57.77)
CIE-LCHlch(61.78, 86.98, 318.38°)
OKLaboklab(69.84% 0.1609 -0.1619)
OKLCHoklch(69.84% 0.228 314.8)
XYZxyz(48.7726, 30.1515, 96.1601)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166FD #92FD66
analogous
#8666FD #D166FD #FD66DD
triadic
#D166FD #FDD166 #66FDD1
tetradic
#D166FD #FD8666 #92FD66 #66DDFD
square
#D166FD #FD8666 #92FD66 #66DDFD
split-complementary
#D166FD #DDFD66 #66FD86
monochromatic
#A403E6 #BF2AFC #D166FD #E3A2FE #F5DFFF

Accessibility & contrast

On white

2.99
#D166FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D166FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D166FD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166FD#FFFFFF#000000##000000
##D166FD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#CE81A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d166fd;
/* rgb */ color: rgb(209, 102, 253);
/* oklch */ color: oklch(69.8% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#e297ff',
    500: '#d166fd',
    950: '#000000',
  },
}
SCSS
$custom: #d166fd;
$custom-light: #e297ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d166fd",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 282.517,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69842,
    "c": 0.2283,
    "h": 314.8
  },
  "luminance": 0.3015
}

Semantic roles & 50–950 ramp

primary
#D166FD
secondary
#D6F5CA
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D166FD

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

Preview Lab → · Contrast checker → · Palette generator →

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