#E766FE#E766FE

#E766FE is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.6% C 0.239 H 321.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#E766FE
RGBrgb(231, 102, 254)
HSLhsl(291, 99%, 70%)
HSVhsv(291, 60%, 100%)
CMYKcmyk(9.1%, 59.8%, 0%, 0.4%)
CIE-LABlab(64.68, 70.38, -53.54)
CIE-LCHlch(64.68, 88.43, 322.74°)
OKLaboklab(72.56% 0.1862 -0.149)
OKLCHoklch(72.56% 0.239 321.3)
XYZxyz(55.5938, 33.6501, 97.3135)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E766FE #7DFE66
analogous
#9B66FE #E766FE #FE66C9
triadic
#E766FE #FEE766 #66FEE7
tetradic
#E766FE #FE9B66 #7DFE66 #66C9FE
square
#E766FE #FE9B66 #7DFE66 #66C9FE
split-complementary
#E766FE #C9FE66 #66FE9B
monochromatic
#C502E8 #DD29FE #E766FE #F1A3FE #FAE0FF

Accessibility & contrast

On white

2.72
#E766FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#E766FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E766FE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E766FE#FFFFFF#000000##000000
##E766FE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#E97EA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e766fe;
/* rgb */ color: rgb(231, 102, 254);
/* oklch */ color: oklch(72.6% 0.239 321.3);
Tailwind
colors: {
  custom: {
    50: '#f299ff',
    500: '#e766fe',
    950: '#000000',
  },
}
SCSS
$custom: #e766fe;
$custom-light: #f299ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e766fe",
  "rgb": {
    "r": 231,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 290.921,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.23852,
    "h": 321.3
  },
  "luminance": 0.33647
}

Semantic roles & 50–950 ramp

primary
#E766FE
secondary
#D1F5CA
accent
#E60023
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #E766FE

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

Preview Lab → · Contrast checker → · Palette generator →

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