#E227C9#E227C9

#E227C9 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.7% C 0.263 H 334.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#E227C9
RGBrgb(226, 39, 201)
HSLhsl(308, 76%, 52%)
HSVhsv(308, 83%, 89%)
CMYKcmyk(0%, 82.7%, 11.1%, 11.4%)
CIE-LABlab(53.86, 81.63, -40.95)
CIE-LCHlch(53.86, 91.33, 333.36°)
OKLaboklab(63.75% 0.2384 -0.1122)
OKLCHoklch(63.75% 0.263 334.8)
XYZxyz(42.6328, 21.8408, 57.2174)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E227C9 #27E240
analogous
#9D27E2 #E227C9 #E2276C
triadic
#E227C9 #C9E227 #27C9E2
tetradic
#E227C9 #E29D27 #27E240 #276CE2
square
#E227C9 #E29D27 #27E240 #276CE2
split-complementary
#E227C9 #6CE227 #27E29D
monochromatic
#7E116F #B4189F #E227C9 #E95DD6 #F093E4

Accessibility & contrast

On white

3.91
#E227C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#E227C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E227C9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E227C9#FFFFFF#000000##000000
##E227C91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2470CD
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#ED3C7A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #e227c9;
/* rgb */ color: rgb(226, 39, 201);
/* oklch */ color: oklch(63.7% 0.263 334.8);
Tailwind
colors: {
  custom: {
    50: '#f07ada',
    500: '#e227c9',
    950: '#000000',
  },
}
SCSS
$custom: #e227c9;
$custom-light: #f07ada;
$custom-dark: #000000;
JSON
{
  "hex": "#e227c9",
  "rgb": {
    "r": 226,
    "g": 39,
    "b": 201
  },
  "hsl": {
    "h": 308.021,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.26346,
    "h": 334.8
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#E227C9
secondary
#89DB94
accent
#F34E35
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #E227C9

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

Preview Lab → · Contrast checker → · Palette generator →

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