#E766EF#E766EF

#E766EF is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.8% C 0.225 H 325.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#E766EF
RGBrgb(231, 102, 239)
HSLhsl(296, 81%, 67%)
HSVhsv(296, 57%, 94%)
CMYKcmyk(3.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(63.94, 67.72, -46.44)
CIE-LCHlch(63.94, 82.11, 325.56°)
OKLaboklab(71.78% 0.1853 -0.1284)
OKLCHoklch(71.78% 0.225 325.3)
XYZxyz(53.2852, 32.7267, 85.1548)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E766EF #6EEF66
analogous
#A266EF #E766EF #EF66B3
triadic
#E766EF #EFE766 #66EFE7
tetradic
#E766EF #EFA266 #6EEF66 #66B3EF
square
#E766EF #EFA266 #6EEF66 #66B3EF
split-complementary
#E766EF #B3EF66 #66EFA2
monochromatic
#BC15C6 #DE2FE9 #E766EF #F09DF5 #F8D5FB

Accessibility & contrast

On white

2.78
#E766EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#E766EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E766EF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E766EF#FFFFFF#000000##000000
##E766EF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#EC78A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e766ef;
/* rgb */ color: rgb(231, 102, 239);
/* oklch */ color: oklch(71.8% 0.225 325.3);
Tailwind
colors: {
  custom: {
    50: '#f298f5',
    500: '#e766ef',
    950: '#000000',
  },
}
SCSS
$custom: #e766ef;
$custom-light: #f298f5;
$custom-dark: #000000;
JSON
{
  "hex": "#e766ef",
  "rgb": {
    "r": 231,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 296.496,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71775,
    "c": 0.22549,
    "h": 325.3
  },
  "luminance": 0.32724
}

Semantic roles & 50–950 ramp

primary
#E766EF
secondary
#C5EEC2
accent
#DD0815
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#170E17
muted
#857E85

Preview Lab

Preview with #E766EF

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

Preview Lab → · Contrast checker → · Palette generator →

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