#E772E2#E772E2

#E772E2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.6% C 0.197 H 329.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#E772E2
RGBrgb(231, 114, 226)
HSLhsl(303, 71%, 68%)
HSVhsv(303, 51%, 91%)
CMYKcmyk(0%, 50.6%, 2.2%, 9.4%)
CIE-LABlab(65.37, 60.02, -36.98)
CIE-LCHlch(65.37, 70.50, 328.36°)
OKLaboklab(72.63% 0.1685 -0.1013)
OKLCHoklch(72.63% 0.197 329)
XYZxyz(52.6991, 34.5177, 75.8236)
Luminance0.3452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E772E2 #72E777
analogous
#B172E7 #E772E2 #E772A8
triadic
#E772E2 #E2E772 #72E2E7
tetradic
#E772E2 #E7B172 #72E777 #72A8E7
square
#E772E2 #E7B172 #72E777 #72A8E7
split-complementary
#E772E2 #A8E772 #72E7B1
monochromatic
#BE20B7 #DE3ED7 #E772E2 #F0A6ED #F9DBF8

Accessibility & contrast

On white

2.66
#E772E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#E772E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E772E2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E772E2#FFFFFF#000000##000000
##E772E21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#8DA4DF
Tritanopia (blue-blind)
#EE7DA0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e772e2;
/* rgb */ color: rgb(231, 114, 226);
/* oklch */ color: oklch(72.6% 0.197 329.0);
Tailwind
colors: {
  custom: {
    50: '#f19feb',
    500: '#e772e2',
    950: '#000000',
  },
}
SCSS
$custom: #e772e2;
$custom-light: #f19feb;
$custom-dark: #000000;
JSON
{
  "hex": "#e772e2",
  "rgb": {
    "r": 231,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 302.564,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.1966,
    "h": 329
  },
  "luminance": 0.34515
}

Semantic roles & 50–950 ramp

primary
#E772E2
secondary
#C8EDCA
accent
#D31B13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E772E2

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

Preview Lab → · Contrast checker → · Palette generator →

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