#E772DC#E772DC

#E772DC is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.4% C 0.192 H 331.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#E772DC
RGBrgb(231, 114, 220)
HSLhsl(306, 71%, 68%)
HSVhsv(306, 51%, 91%)
CMYKcmyk(0%, 50.6%, 4.8%, 9.4%)
CIE-LABlab(65.12, 59.01, -34.03)
CIE-LCHlch(65.12, 68.12, 330.03°)
OKLaboklab(72.36% 0.1675 -0.0929)
OKLCHoklch(72.36% 0.192 331)
XYZxyz(51.8902, 34.1941, 71.5633)
Luminance0.3419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E772DC #72E77D
analogous
#B772E7 #E772DC #E772A1
triadic
#E772DC #DCE772 #72DCE7
tetradic
#E772DC #E7B772 #72E77D #72A1E7
square
#E772DC #E7B772 #72E77D #72A1E7
split-complementary
#E772DC #A1E772 #72E7B7
monochromatic
#BE20AF #DE3ECF #E772DC #F0A6E9 #F9DBF6

Accessibility & contrast

On white

2.68
#E772DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#E772DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E772DC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E772DC#FFFFFF#000000##000000
##E772DC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#EF7B9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e772dc;
/* rgb */ color: rgb(231, 114, 220);
/* oklch */ color: oklch(72.4% 0.192 331.0);
Tailwind
colors: {
  custom: {
    50: '#f19fe7',
    500: '#e772dc',
    950: '#000000',
  },
}
SCSS
$custom: #e772dc;
$custom-light: #f19fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#e772dc",
  "rgb": {
    "r": 231,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 305.641,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72362,
    "c": 0.19154,
    "h": 331
  },
  "luminance": 0.34191
}

Semantic roles & 50–950 ramp

primary
#E772DC
secondary
#C8EDCC
accent
#D32513
background
#FFFAFE
surface
#FEF3FC
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E772DC

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

Preview Lab → · Contrast checker → · Palette generator →

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