#E252D7#E252D7

#E252D7 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.230 H 331.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#E252D7
RGBrgb(226, 82, 215)
HSLhsl(305, 71%, 60%)
HSVhsv(305, 64%, 89%)
CMYKcmyk(0%, 63.7%, 4.9%, 11.4%)
CIE-LABlab(59.08, 70.78, -40.71)
CIE-LCHlch(59.08, 81.65, 330.09°)
OKLaboklab(67.72% 0.2014 -0.1118)
OKLCHoklch(67.72% 0.23 331)
XYZxyz(46.6469, 27.1131, 67.0533)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252D7 #52E25D
analogous
#A552E2 #E252D7 #E2528F
triadic
#E252D7 #D7E252 #52D7E2
tetradic
#E252D7 #E2A552 #52E25D #528FE2
square
#E252D7 #E2A552 #52E25D #528FE2
split-complementary
#E252D7 #8FE252 #52E2A5
monochromatic
#9F1B95 #D323C6 #E252D7 #EB86E3 #F4BBEF

Accessibility & contrast

On white

3.27
#E252D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#E252D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252D7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252D7#FFFFFF#000000##000000
##E252D71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DB
Deuteranopia (green-blind)
#7B95D3
Tritanopia (blue-blind)
#EB618E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e252d7;
/* rgb */ color: rgb(226, 82, 215);
/* oklch */ color: oklch(67.7% 0.230 331.0);
Tailwind
colors: {
  custom: {
    50: '#ef8ce4',
    500: '#e252d7',
    950: '#000000',
  },
}
SCSS
$custom: #e252d7;
$custom-light: #ef8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#e252d7",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 304.583,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67723,
    "c": 0.2304,
    "h": 331
  },
  "luminance": 0.2711
}

Semantic roles & 50–950 ramp

primary
#E252D7
secondary
#ACE3B1
accent
#D32112
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #E252D7

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

Preview Lab → · Contrast checker → · Palette generator →

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