#E252DF#E252DF

#E252DF is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.1% C 0.237 H 328.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#E252DF
RGBrgb(226, 82, 223)
HSLhsl(301, 71%, 60%)
HSVhsv(301, 64%, 89%)
CMYKcmyk(0%, 63.7%, 1.3%, 11.4%)
CIE-LABlab(59.47, 72.06, -44.61)
CIE-LCHlch(59.47, 84.75, 328.24°)
OKLaboklab(68.13% 0.202 -0.1231)
OKLCHoklch(68.13% 0.237 328.6)
XYZxyz(47.7001, 27.5343, 72.6000)
Luminance0.2753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252DF #52E255
analogous
#9D52E2 #E252DF #E25297
triadic
#E252DF #DFE252 #52DFE2
tetradic
#E252DF #E29D52 #52E255 #5297E2
square
#E252DF #E29D52 #52E255 #5297E2
split-complementary
#E252DF #97E252 #52E29D
monochromatic
#9F1B9C #D323D0 #E252DF #EB86E9 #F4BBF2

Accessibility & contrast

On white

3.23
#E252DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#E252DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252DF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252DF#FFFFFF#000000##000000
##E252DF1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#7796DB
Tritanopia (blue-blind)
#E96492
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e252df;
/* rgb */ color: rgb(226, 82, 223);
/* oklch */ color: oklch(68.1% 0.237 328.6);
Tailwind
colors: {
  custom: {
    50: '#ef8de9',
    500: '#e252df',
    950: '#000000',
  },
}
SCSS
$custom: #e252df;
$custom-light: #ef8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#e252df",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 301.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.68129,
    "c": 0.23656,
    "h": 328.6
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#E252DF
secondary
#ACE3AE
accent
#D31612
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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