#E277EC#E277EC

#E277EC is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.2% C 0.195 H 324.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#E277EC
RGBrgb(226, 119, 236)
HSLhsl(295, 75%, 70%)
HSVhsv(295, 50%, 93%)
CMYKcmyk(4.2%, 49.6%, 0%, 7.5%)
CIE-LABlab(66.08, 58.03, -41.47)
CIE-LCHlch(66.08, 71.32, 324.45°)
OKLaboklab(73.16% 0.1577 -0.1143)
OKLCHoklch(73.16% 0.195 324.1)
XYZxyz(53.0998, 35.4211, 83.3806)
Luminance0.3542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E277EC #81EC77
analogous
#A877EC #E277EC #EC77BB
triadic
#E277EC #ECE277 #77ECE2
tetradic
#E277EC #ECA877 #81EC77 #77BBEC
square
#E277EC #ECA877 #81EC77 #77BBEC
split-complementary
#E277EC #BBEC77 #77ECA8
monochromatic
#BD1DCC #D741E4 #E277EC #EDADF4 #F9E2FB

Accessibility & contrast

On white

2.60
#E277EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#E277EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E277EC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E277EC#FFFFFF#000000##000000
##E277EC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#E685A7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e277ec;
/* rgb */ color: rgb(226, 119, 236);
/* oklch */ color: oklch(73.2% 0.195 324.1);
Tailwind
colors: {
  custom: {
    50: '#eda2f2',
    500: '#e277ec',
    950: '#000000',
  },
}
SCSS
$custom: #e277ec;
$custom-light: #eda2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e277ec",
  "rgb": {
    "r": 226,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 294.872,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73163,
    "c": 0.19478,
    "h": 324.1
  },
  "luminance": 0.35419
}

Semantic roles & 50–950 ramp

primary
#E277EC
secondary
#D2F0CF
accent
#D80E1F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E277EC

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

Preview Lab → · Contrast checker → · Palette generator →

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