#D166FF#D166FF

#D166FF is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.0% C 0.230 H 314.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D166FF
RGBrgb(209, 102, 255)
HSLhsl(282, 100%, 70%)
HSVhsv(282, 60%, 100%)
CMYKcmyk(18%, 60%, 0%, 0%)
CIE-LABlab(61.89, 65.42, -58.70)
CIE-LCHlch(61.89, 87.89, 318.10°)
OKLaboklab(69.96% 0.1609 -0.1647)
OKLCHoklch(69.96% 0.23 314.3)
XYZxyz(49.0929, 30.2796, 97.8468)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166FF #94FF66
analogous
#8566FF #D166FF #FF66E0
triadic
#D166FF #FFD166 #66FFD1
tetradic
#D166FF #FF8566 #94FF66 #66E0FF
square
#D166FF #FF8566 #94FF66 #66E0FF
split-complementary
#D166FF #E0FF66 #66FF85
monochromatic
#A400EB #BF29FF #D166FF #E3A3FF #F6E0FF

Accessibility & contrast

On white

2.98
#D166FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D166FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D166FF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166FF#FFFFFF#000000##000000
##D166FF1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#CD81A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d166ff;
/* rgb */ color: rgb(209, 102, 255);
/* oklch */ color: oklch(70.0% 0.230 314.3);
Tailwind
colors: {
  custom: {
    50: '#e397ff',
    500: '#d166ff',
    950: '#000000',
  },
}
SCSS
$custom: #d166ff;
$custom-light: #e397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ff",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 281.961,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.23024,
    "h": 314.3
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#D166FF
secondary
#D8F6CB
accent
#E60045
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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