#D766EF#D766EF

#D766EF is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.218 H 320.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D766EF
RGBrgb(215, 102, 239)
HSLhsl(289, 81%, 67%)
HSVhsv(289, 57%, 94%)
CMYKcmyk(10%, 57.3%, 0%, 6.3%)
CIE-LABlab(61.81, 63.75, -49.94)
CIE-LCHlch(61.81, 80.98, 321.93°)
OKLaboklab(69.78% 0.1674 -0.1389)
OKLCHoklch(69.78% 0.218 320.3)
XYZxyz(48.3538, 30.1840, 84.9237)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D766EF #7EEF66
analogous
#9366EF #D766EF #EF66C3
triadic
#D766EF #EFD766 #66EFD7
tetradic
#D766EF #EF9366 #7EEF66 #66C3EF
square
#D766EF #EF9366 #7EEF66 #66C3EF
split-complementary
#D766EF #C3EF66 #66EF93
monochromatic
#A715C6 #C92FE9 #D766EF #E59DF5 #F4D5FB

Accessibility & contrast

On white

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

On black

7.04
#D766EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D766EF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D766EF#FFFFFF#000000##000000
##D766EF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#D87BA1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d766ef;
/* rgb */ color: rgb(215, 102, 239);
/* oklch */ color: oklch(69.8% 0.218 320.3);
Tailwind
colors: {
  custom: {
    50: '#e697f5',
    500: '#d766ef',
    950: '#000000',
  },
}
SCSS
$custom: #d766ef;
$custom-light: #e697f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d766ef",
  "rgb": {
    "r": 215,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 289.489,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69784,
    "c": 0.21757,
    "h": 320.3
  },
  "luminance": 0.30182
}

Semantic roles & 50–950 ramp

primary
#D766EF
secondary
#CAEEC2
accent
#DD082D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D766EF

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

Preview Lab → · Contrast checker → · Palette generator →

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