#D766EA#D766EA

#D766EA is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.213 H 321.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D766EA
RGBrgb(215, 102, 234)
HSLhsl(291, 76%, 66%)
HSVhsv(291, 56%, 92%)
CMYKcmyk(8.1%, 56.4%, 0%, 8.2%)
CIE-LABlab(61.56, 62.82, -47.56)
CIE-LCHlch(61.56, 78.79, 322.87°)
OKLaboklab(69.52% 0.1671 -0.132)
OKLCHoklch(69.52% 0.213 321.7)
XYZxyz(47.6254, 29.8926, 81.0872)
Luminance0.2989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766EA #79EA66
analogous
#9566EA #D766EA #EA66BB
triadic
#D766EA #EAD766 #66EAD7
tetradic
#D766EA #EA9566 #79EA66 #66BBEA
square
#D766EA #EA9566 #79EA66 #66BBEA
split-complementary
#D766EA #BBEA66 #66EA95
monochromatic
#A41ABC #C930E3 #D766EA #E59CF1 #F3D2F9

Accessibility & contrast

On white

3.01
#D766EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D766EA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766EA#FFFFFF#000000##000000
##D766EA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#7599E6
Tritanopia (blue-blind)
#D9799F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d766ea;
/* rgb */ color: rgb(215, 102, 234);
/* oklch */ color: oklch(69.5% 0.213 321.7);
Tailwind
colors: {
  custom: {
    50: '#e697f1',
    500: '#d766ea',
    950: '#000000',
  },
}
SCSS
$custom: #d766ea;
$custom-light: #e697f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d766ea",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 291.364,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.21297,
    "h": 321.7
  },
  "luminance": 0.2989
}

Semantic roles & 50–950 ramp

primary
#D766EA
secondary
#C6ECC0
accent
#D80D2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D766EA

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

Preview Lab → · Contrast checker → · Palette generator →

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