#E277D5#E277D5

#E277D5 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.174 H 331.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#E277D5
RGBrgb(226, 119, 213)
HSLhsl(307, 65%, 68%)
HSVhsv(307, 47%, 89%)
CMYKcmyk(0%, 47.3%, 5.8%, 11.4%)
CIE-LABlab(65.10, 53.99, -30.21)
CIE-LCHlch(65.10, 61.87, 330.78°)
OKLaboklab(72.12% 0.1538 -0.0821)
OKLCHoklch(72.12% 0.174 331.9)
XYZxyz(49.9708, 34.1695, 66.9012)
Luminance0.3417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E277D5 #77E284
analogous
#BA77E2 #E277D5 #E2779F
triadic
#E277D5 #D5E277 #77D5E2
tetradic
#E277D5 #E2BA77 #77E284 #779FE2
square
#E277D5 #E2BA77 #77E284 #779FE2
split-complementary
#E277D5 #9FE277 #77E2BA
monochromatic
#B727A6 #D745C5 #E277D5 #EDA9E5 #F8DCF4

Accessibility & contrast

On white

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

On black

7.83
#E277D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E277D5
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E277D5#FFFFFF#000000##000000
##E277D51.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D8
Deuteranopia (green-blind)
#92A3D2
Tritanopia (blue-blind)
#EA7E9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e277d5;
/* rgb */ color: rgb(226, 119, 213);
/* oklch */ color: oklch(72.1% 0.174 331.9);
Tailwind
colors: {
  custom: {
    50: '#eda2e2',
    500: '#e277d5',
    950: '#000000',
  },
}
SCSS
$custom: #e277d5;
$custom-light: #eda2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e277d5",
  "rgb": {
    "r": 226,
    "g": 119,
    "b": 213
  },
  "hsl": {
    "h": 307.29,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72118,
    "c": 0.17436,
    "h": 331.9
  },
  "luminance": 0.34166
}

Semantic roles & 50–950 ramp

primary
#E277D5
secondary
#CAEBCE
accent
#CD2F19
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E277D5

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

Preview Lab → · Contrast checker → · Palette generator →

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