#E770DC#E770DC

#E770DC is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.1% C 0.195 H 331.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#E770DC
RGBrgb(231, 112, 220)
HSLhsl(306, 71%, 67%)
HSVhsv(306, 52%, 91%)
CMYKcmyk(0%, 51.5%, 4.8%, 9.4%)
CIE-LABlab(64.76, 59.95, -34.58)
CIE-LCHlch(64.76, 69.21, 330.02°)
OKLaboklab(72.1% 0.1702 -0.0944)
OKLCHoklch(72.1% 0.195 331)
XYZxyz(51.6671, 33.7478, 71.4889)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E770DC #70E77B
analogous
#B670E7 #E770DC #E770A1
triadic
#E770DC #DCE770 #70DCE7
tetradic
#E770DC #E7B670 #70E77B #70A1E7
square
#E770DC #E7B670 #70E77B #70A1E7
split-complementary
#E770DC #A1E770 #70E7B6
monochromatic
#BD20AE #DE3CCF #E770DC #F0A4E9 #F9D9F6

Accessibility & contrast

On white

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

On black

7.75
#E770DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E770DC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E770DC#FFFFFF#000000##000000
##E770DC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E0
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#EF7A9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e770dc;
/* rgb */ color: rgb(231, 112, 220);
/* oklch */ color: oklch(72.1% 0.195 331.0);
Tailwind
colors: {
  custom: {
    50: '#f19ee7',
    500: '#e770dc',
    950: '#000000',
  },
}
SCSS
$custom: #e770dc;
$custom-light: #f19ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#e770dc",
  "rgb": {
    "r": 231,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 305.546,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.721,
    "c": 0.19465,
    "h": 331
  },
  "luminance": 0.33745
}

Semantic roles & 50–950 ramp

primary
#E770DC
secondary
#C7ECCA
accent
#D32412
background
#FFFAFE
surface
#FEF3FC
border
#D6CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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