#E766F1#E766F1

#E766F1 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.9% C 0.227 H 324.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#E766F1
RGBrgb(231, 102, 241)
HSLhsl(296, 83%, 67%)
HSVhsv(296, 58%, 95%)
CMYKcmyk(4.1%, 57.7%, 0%, 5.5%)
CIE-LABlab(64.04, 68.06, -47.40)
CIE-LCHlch(64.04, 82.94, 325.15°)
OKLaboklab(71.88% 0.1855 -0.1312)
OKLCHoklch(71.88% 0.227 324.7)
XYZxyz(53.5822, 32.8455, 86.7195)
Luminance0.3284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E766F1 #70F166
analogous
#A166F1 #E766F1 #F166B6
triadic
#E766F1 #F1E766 #66F1E7
tetradic
#E766F1 #F1A166 #70F166 #66B6F1
square
#E766F1 #F1A166 #70F166 #66B6F1
split-complementary
#E766F1 #B6F166 #66F1A1
monochromatic
#BD12CA #DE2EEC #E766F1 #F09EF6 #F9D6FB

Accessibility & contrast

On white

2.77
#E766F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#E766F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E766F1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E766F1#FFFFFF#000000##000000
##E766F11.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#EC79A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e766f1;
/* rgb */ color: rgb(231, 102, 241);
/* oklch */ color: oklch(71.9% 0.227 324.7);
Tailwind
colors: {
  custom: {
    50: '#f298f6',
    500: '#e766f1',
    950: '#000000',
  },
}
SCSS
$custom: #e766f1;
$custom-light: #f298f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e766f1",
  "rgb": {
    "r": 231,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 295.683,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71877,
    "c": 0.22721,
    "h": 324.7
  },
  "luminance": 0.32843
}

Semantic roles & 50–950 ramp

primary
#E766F1
secondary
#C7EFC3
accent
#E00616
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#170E17
muted
#857E85

Preview Lab

Preview with #E766F1

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

Preview Lab → · Contrast checker → · Palette generator →

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