#E229CF#E229CF

#E229CF is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 64.2% C 0.266 H 333.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#E229CF
RGBrgb(226, 41, 207)
HSLhsl(306, 76%, 52%)
HSVhsv(306, 82%, 89%)
CMYKcmyk(0%, 81.9%, 8.4%, 11.4%)
CIE-LABlab(54.31, 82.04, -43.69)
CIE-LCHlch(54.31, 92.95, 331.97°)
OKLaboklab(64.16% 0.2373 -0.1201)
OKLCHoklch(64.16% 0.266 333.1)
XYZxyz(43.4198, 22.2635, 61.0299)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E229CF #29E23C
analogous
#9829E2 #E229CF #E22973
triadic
#E229CF #CFE229 #29CFE2
tetradic
#E229CF #E29829 #29E23C #2973E2
square
#E229CF #E29829 #29E23C #2973E2
split-complementary
#E229CF #73E229 #29E298
monochromatic
#7F1174 #B519A5 #E229CF #E95FDB #F195E7

Accessibility & contrast

On white

3.85
#E229CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#E229CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E229CF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E229CF#FFFFFF#000000##000000
##E229CF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#EC417E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #e229cf;
/* rgb */ color: rgb(226, 41, 207);
/* oklch */ color: oklch(64.2% 0.266 333.1);
Tailwind
colors: {
  custom: {
    50: '#f07bde',
    500: '#e229cf',
    950: '#000000',
  },
}
SCSS
$custom: #e229cf;
$custom-light: #f07bde;
$custom-dark: #000000;
JSON
{
  "hex": "#e229cf",
  "rgb": {
    "r": 226,
    "g": 41,
    "b": 207
  },
  "hsl": {
    "h": 306.162,
    "s": 76.132,
    "l": 52.353
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.26593,
    "h": 333.1
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#E229CF
secondary
#8BDC93
accent
#F34935
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #E229CF

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

Preview Lab → · Contrast checker → · Palette generator →

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