#E766DC#E766DC

#E766DC is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.8% C 0.210 H 330.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#E766DC
RGBrgb(231, 102, 220)
HSLhsl(305, 73%, 65%)
HSVhsv(305, 56%, 91%)
CMYKcmyk(0%, 55.8%, 4.8%, 9.4%)
CIE-LABlab(63.06, 64.51, -37.23)
CIE-LCHlch(63.06, 74.49, 330.01°)
OKLaboklab(70.85% 0.1833 -0.1019)
OKLCHoklch(70.85% 0.21 330.9)
XYZxyz(50.6244, 31.6624, 71.1413)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E766DC #66E771
analogous
#B166E7 #E766DC #E7669C
triadic
#E766DC #DCE766 #66DCE7
tetradic
#E766DC #E7B166 #66E771 #669CE7
square
#E766DC #E7B166 #66E771 #669CE7
split-complementary
#E766DC #9CE766 #66E7B1
monochromatic
#B61DA9 #DF31D0 #E766DC #EF9BE8 #F8D0F4

Accessibility & contrast

On white

2.86
#E766DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#E766DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E766DC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E766DC#FFFFFF#000000##000000
##E766DC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#889FD8
Tritanopia (blue-blind)
#EF7198
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e766dc;
/* rgb */ color: rgb(231, 102, 220);
/* oklch */ color: oklch(70.8% 0.210 330.9);
Tailwind
colors: {
  custom: {
    50: '#f198e7',
    500: '#e766dc',
    950: '#000000',
  },
}
SCSS
$custom: #e766dc;
$custom-light: #f198e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e766dc",
  "rgb": {
    "r": 231,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 305.116,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70849,
    "c": 0.20972,
    "h": 330.9
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#E766DC
secondary
#BFEAC2
accent
#D52111
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E766DC

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

Preview Lab → · Contrast checker → · Palette generator →

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