#E257E4#E257E4

#E257E4 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.9% C 0.234 H 327.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#E257E4
RGBrgb(226, 87, 228)
HSLhsl(299, 72%, 62%)
HSVhsv(299, 62%, 89%)
CMYKcmyk(0.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(60.42, 70.92, -45.92)
CIE-LCHlch(60.42, 84.48, 327.08°)
OKLaboklab(68.9% 0.1968 -0.1269)
OKLCHoklch(68.9% 0.234 327.2)
XYZxyz(48.7750, 28.5897, 76.3331)
Luminance0.2859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257E4 #59E457
analogous
#9C57E4 #E257E4 #E457A0
triadic
#E257E4 #E4E257 #57E4E2
tetradic
#E257E4 #E49C57 #59E457 #57A0E4
square
#E257E4 #E49C57 #59E457 #57A0E4
split-complementary
#E257E4 #A0E457 #57E49C
monochromatic
#A41BA6 #D823DB #E257E4 #EB8CEC #F4C0F5

Accessibility & contrast

On white

3.13
#E257E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#E257E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257E4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257E4#FFFFFF#000000##000000
##E257E41.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#7798E0
Tritanopia (blue-blind)
#E86A96
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e257e4;
/* rgb */ color: rgb(226, 87, 228);
/* oklch */ color: oklch(68.9% 0.234 327.2);
Tailwind
colors: {
  custom: {
    50: '#ee8fed',
    500: '#e257e4',
    950: '#000000',
  },
}
SCSS
$custom: #e257e4;
$custom-light: #ee8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#e257e4",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 299.149,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68899,
    "c": 0.23412,
    "h": 327.2
  },
  "luminance": 0.28587
}

Semantic roles & 50–950 ramp

primary
#E257E4
secondary
#B2E6B1
accent
#D41114
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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