#E772D4#E772D4

#E772D4 is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.185 H 333.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#E772D4
RGBrgb(231, 114, 212)
HSLhsl(310, 71%, 68%)
HSVhsv(310, 51%, 91%)
CMYKcmyk(0%, 50.6%, 8.2%, 9.4%)
CIE-LABlab(64.79, 57.69, -30.07)
CIE-LCHlch(64.79, 65.06, 332.47°)
OKLaboklab(72.01% 0.1661 -0.0816)
OKLCHoklch(72.01% 0.185 333.8)
XYZxyz(50.8560, 33.7804, 66.1162)
Luminance0.3378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E772D4 #72E785
analogous
#C072E7 #E772D4 #E77299
triadic
#E772D4 #D4E772 #72D4E7
tetradic
#E772D4 #E7C072 #72E785 #7299E7
square
#E772D4 #E7C072 #72E785 #7299E7
split-complementary
#E772D4 #99E772 #72E7C0
monochromatic
#BE20A5 #DE3EC4 #E772D4 #F0A6E4 #F9DBF4

Accessibility & contrast

On white

2.71
#E772D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#E772D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E772D4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E772D4#FFFFFF#000000##000000
##E772D41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7192D7
Deuteranopia (green-blind)
#92A3D1
Tritanopia (blue-blind)
#F07999
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e772d4;
/* rgb */ color: rgb(231, 114, 212);
/* oklch */ color: oklch(72.0% 0.185 333.8);
Tailwind
colors: {
  custom: {
    50: '#f19fe1',
    500: '#e772d4',
    950: '#000000',
  },
}
SCSS
$custom: #e772d4;
$custom-light: #f19fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#e772d4",
  "rgb": {
    "r": 231,
    "g": 114,
    "b": 212
  },
  "hsl": {
    "h": 309.744,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72011,
    "c": 0.18503,
    "h": 333.8
  },
  "luminance": 0.33777
}

Semantic roles & 50–950 ramp

primary
#E772D4
secondary
#C8EDCE
accent
#D33213
background
#FFFAFD
surface
#FEF3FB
border
#D6CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E772D4

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

Preview Lab → · Contrast checker → · Palette generator →

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