#E766DF#E766DF

#E766DF is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.0% C 0.212 H 330.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#E766DF
RGBrgb(231, 102, 223)
HSLhsl(304, 73%, 65%)
HSVhsv(304, 56%, 91%)
CMYKcmyk(0%, 55.8%, 3.5%, 9.4%)
CIE-LABlab(63.20, 65.00, -38.70)
CIE-LCHlch(63.20, 75.65, 329.23°)
OKLaboklab(70.99% 0.1837 -0.1061)
OKLCHoklch(70.99% 0.212 330)
XYZxyz(51.0252, 31.8227, 73.2526)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E766DF #66E76E
analogous
#AE66E7 #E766DF #E7669E
triadic
#E766DF #DFE766 #66DFE7
tetradic
#E766DF #E7AE66 #66E76E #669EE7
square
#E766DF #E7AE66 #66E76E #669EE7
split-complementary
#E766DF #9EE766 #66E7AE
monochromatic
#B61DAD #DF31D4 #E766DF #EF9BEA #F8D0F5

Accessibility & contrast

On white

2.85
#E766DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#E766DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E766DF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E766DF#FFFFFF#000000##000000
##E766DF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE3
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#EF7399
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e766df;
/* rgb */ color: rgb(231, 102, 223);
/* oklch */ color: oklch(71.0% 0.212 330.0);
Tailwind
colors: {
  custom: {
    50: '#f198e9',
    500: '#e766df',
    950: '#000000',
  },
}
SCSS
$custom: #e766df;
$custom-light: #f198e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e766df",
  "rgb": {
    "r": 231,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 303.721,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.7099,
    "c": 0.21214,
    "h": 330
  },
  "luminance": 0.31819
}

Semantic roles & 50–950 ramp

primary
#E766DF
secondary
#BFEAC1
accent
#D51D11
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E766DF

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

Preview Lab → · Contrast checker → · Palette generator →

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