#D766E8#D766E8

#D766E8 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.211 H 322.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#D766E8
RGBrgb(215, 102, 232)
HSLhsl(292, 74%, 65%)
HSVhsv(292, 56%, 91%)
CMYKcmyk(7.3%, 56%, 0%, 9%)
CIE-LABlab(61.46, 62.45, -46.60)
CIE-LCHlch(61.46, 77.92, 323.27°)
OKLaboklab(69.42% 0.1669 -0.1293)
OKLCHoklch(69.42% 0.211 322.3)
XYZxyz(47.3397, 29.7783, 79.5825)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766E8 #77E866
analogous
#9666E8 #D766E8 #E866B8
triadic
#D766E8 #E8D766 #66E8D7
tetradic
#D766E8 #E89666 #77E866 #66B8E8
square
#D766E8 #E89666 #77E866 #66B8E8
split-complementary
#D766E8 #B8E866 #66E896
monochromatic
#A41CB8 #C931E0 #D766E8 #E59BF0 #F3D0F8

Accessibility & contrast

On white

3.02
#D766E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#D766E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D766E8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766E8#FFFFFF#000000##000000
##D766E81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#DA789E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d766e8;
/* rgb */ color: rgb(215, 102, 232);
/* oklch */ color: oklch(69.4% 0.211 322.3);
Tailwind
colors: {
  custom: {
    50: '#e697f0',
    500: '#d766e8',
    950: '#000000',
  },
}
SCSS
$custom: #d766e8;
$custom-light: #e697f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d766e8",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 292.154,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69415,
    "c": 0.21114,
    "h": 322.3
  },
  "luminance": 0.29776
}

Semantic roles & 50–950 ramp

primary
#D766E8
secondary
#C5EBBF
accent
#D61029
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D766E8

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

Preview Lab → · Contrast checker → · Palette generator →

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