#E251D7#E251D7

#E251D7 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.6% C 0.232 H 331.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#E251D7
RGBrgb(226, 81, 215)
HSLhsl(305, 71%, 60%)
HSVhsv(305, 64%, 89%)
CMYKcmyk(0%, 64.2%, 4.9%, 11.4%)
CIE-LABlab(58.94, 71.16, -40.93)
CIE-LCHlch(58.94, 82.09, 330.10°)
OKLaboklab(67.62% 0.2026 -0.1125)
OKLCHoklch(67.62% 0.232 331)
XYZxyz(46.5720, 26.9634, 67.0283)
Luminance0.2696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251D7 #51E25C
analogous
#A551E2 #E251D7 #E2518E
triadic
#E251D7 #D7E251 #51D7E2
tetradic
#E251D7 #E2A551 #51E25C #518EE2
square
#E251D7 #E2A551 #51E25C #518EE2
split-complementary
#E251D7 #8EE251 #51E2A5
monochromatic
#9E1A94 #D323C5 #E251D7 #EB85E3 #F3BAEF

Accessibility & contrast

On white

3.29
#E251D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#E251D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251D7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251D7#FFFFFF#000000##000000
##E251D71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DB
Deuteranopia (green-blind)
#7A95D3
Tritanopia (blue-blind)
#EB608D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e251d7;
/* rgb */ color: rgb(226, 81, 215);
/* oklch */ color: oklch(67.6% 0.232 331.0);
Tailwind
colors: {
  custom: {
    50: '#ef8ce4',
    500: '#e251d7',
    950: '#000000',
  },
}
SCSS
$custom: #e251d7;
$custom-light: #ef8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#e251d7",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 304.552,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67622,
    "c": 0.23168,
    "h": 331
  },
  "luminance": 0.2696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E251D7

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

Preview Lab → · Contrast checker → · Palette generator →

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