#D766EB#D766EB

#D766EB is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.6% C 0.214 H 321.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D766EB
RGBrgb(215, 102, 235)
HSLhsl(291, 77%, 66%)
HSVhsv(291, 57%, 92%)
CMYKcmyk(8.5%, 56.6%, 0%, 7.8%)
CIE-LABlab(61.61, 63.00, -48.04)
CIE-LCHlch(61.61, 79.23, 322.68°)
OKLaboklab(69.57% 0.1672 -0.1334)
OKLCHoklch(69.57% 0.214 321.4)
XYZxyz(47.7694, 29.9502, 81.8459)
Luminance0.2995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766EB #7AEB66
analogous
#9466EB #D766EB #EB66BD
triadic
#D766EB #EBD766 #66EBD7
tetradic
#D766EB #EB9466 #7AEB66 #66BDEB
square
#D766EB #EB9466 #7AEB66 #66BDEB
split-complementary
#D766EB #BDEB66 #66EB94
monochromatic
#A519BE #C930E4 #D766EB #E59CF2 #F3D2F9

Accessibility & contrast

On white

3.00
#D766EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#D766EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D766EB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766EB#FFFFFF#000000##000000
##D766EB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DEF
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#D97A9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d766eb;
/* rgb */ color: rgb(215, 102, 235);
/* oklch */ color: oklch(69.6% 0.214 321.4);
Tailwind
colors: {
  custom: {
    50: '#e697f2',
    500: '#d766eb',
    950: '#000000',
  },
}
SCSS
$custom: #d766eb;
$custom-light: #e697f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d766eb",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 290.977,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.21388,
    "h": 321.4
  },
  "luminance": 0.29948
}

Semantic roles & 50–950 ramp

primary
#D766EB
secondary
#C7ECC1
accent
#D90C2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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