#E227CA#E227CA

#E227CA is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.8% C 0.264 H 334.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#E227CA
RGBrgb(226, 39, 202)
HSLhsl(308, 76%, 52%)
HSVhsv(308, 83%, 89%)
CMYKcmyk(0%, 82.7%, 10.6%, 11.4%)
CIE-LABlab(53.91, 81.77, -41.44)
CIE-LCHlch(53.91, 91.67, 333.12°)
OKLaboklab(63.8% 0.2384 -0.1137)
OKLCHoklch(63.8% 0.264 334.5)
XYZxyz(42.7508, 21.8880, 57.8390)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E227CA #27E23F
analogous
#9D27E2 #E227CA #E2276C
triadic
#E227CA #CAE227 #27CAE2
tetradic
#E227CA #E29D27 #27E23F #276CE2
square
#E227CA #E29D27 #27E23F #276CE2
split-complementary
#E227CA #6CE227 #27E29D
monochromatic
#7E1170 #B418A0 #E227CA #E95DD7 #F093E4

Accessibility & contrast

On white

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

On black

5.38
#E227CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E227CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E227CA#FFFFFF#000000##000000
##E227CA1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#708AC6
Tritanopia (blue-blind)
#ED3D7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #e227ca;
/* rgb */ color: rgb(226, 39, 202);
/* oklch */ color: oklch(63.8% 0.264 334.5);
Tailwind
colors: {
  custom: {
    50: '#f07ada',
    500: '#e227ca',
    950: '#000000',
  },
}
SCSS
$custom: #e227ca;
$custom-light: #f07ada;
$custom-dark: #000000;
JSON
{
  "hex": "#e227ca",
  "rgb": {
    "r": 226,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 307.701,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.26409,
    "h": 334.5
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E227CA

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

Preview Lab → · Contrast checker → · Palette generator →

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