#E766EB#E766EB

#E766EB is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.6% C 0.222 H 326.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#E766EB
RGBrgb(231, 102, 235)
HSLhsl(298, 77%, 66%)
HSVhsv(298, 57%, 92%)
CMYKcmyk(1.7%, 56.6%, 0%, 7.8%)
CIE-LABlab(63.75, 67.03, -44.52)
CIE-LCHlch(63.75, 80.47, 326.41°)
OKLaboklab(71.57% 0.185 -0.1229)
OKLCHoklch(71.57% 0.222 326.4)
XYZxyz(52.7008, 32.4929, 82.0771)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E766EB #6AEB66
analogous
#A466EB #E766EB #EB66AD
triadic
#E766EB #EBE766 #66EBE7
tetradic
#E766EB #EBA466 #6AEB66 #66ADEB
square
#E766EB #EBA466 #6AEB66 #66ADEB
split-complementary
#E766EB #ADEB66 #66EBA4
monochromatic
#B919BE #DF30E4 #E766EB #EF9CF2 #F8D2F9

Accessibility & contrast

On white

2.80
#E766EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#E766EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E766EB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E766EB#FFFFFF#000000##000000
##E766EB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#ED779F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e766eb;
/* rgb */ color: rgb(231, 102, 235);
/* oklch */ color: oklch(71.6% 0.222 326.4);
Tailwind
colors: {
  custom: {
    50: '#f298f2',
    500: '#e766eb',
    950: '#000000',
  },
}
SCSS
$custom: #e766eb;
$custom-light: #f298f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e766eb",
  "rgb": {
    "r": 231,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 298.195,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.2221,
    "h": 326.4
  },
  "luminance": 0.3249
}

Semantic roles & 50–950 ramp

primary
#E766EB
secondary
#C2ECC1
accent
#D90C13
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #E766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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