#E227CC#E227CC

#E227CC is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.9% C 0.265 H 334.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#E227CC
RGBrgb(226, 39, 204)
HSLhsl(307, 76%, 52%)
HSVhsv(307, 83%, 89%)
CMYKcmyk(0%, 82.7%, 9.7%, 11.4%)
CIE-LABlab(54.01, 82.04, -42.43)
CIE-LCHlch(54.01, 92.36, 332.65°)
OKLaboklab(63.9% 0.2384 -0.1165)
OKLCHoklch(63.9% 0.265 334)
XYZxyz(42.9891, 21.9834, 59.0942)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E227CC #27E23D
analogous
#9B27E2 #E227CC #E2276E
triadic
#E227CC #CCE227 #27CCE2
tetradic
#E227CC #E29B27 #27E23D #276EE2
square
#E227CC #E29B27 #27E23D #276EE2
split-complementary
#E227CC #6EE227 #27E29B
monochromatic
#7E1171 #B418A1 #E227CC #E95DD9 #F093E5

Accessibility & contrast

On white

3.89
#E227CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#E227CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E227CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E227CC#FFFFFF#000000##000000
##E227CC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#ED3E7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #e227cc;
/* rgb */ color: rgb(226, 39, 204);
/* oklch */ color: oklch(63.9% 0.265 334.0);
Tailwind
colors: {
  custom: {
    50: '#f07bdc',
    500: '#e227cc',
    950: '#000000',
  },
}
SCSS
$custom: #e227cc;
$custom-light: #f07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#e227cc",
  "rgb": {
    "r": 226,
    "g": 39,
    "b": 204
  },
  "hsl": {
    "h": 307.059,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.63902,
    "c": 0.26537,
    "h": 334
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#E227CC
secondary
#89DB93
accent
#F34B35
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #E227CC

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

Preview Lab → · Contrast checker → · Palette generator →

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