#E257E7#E257E7

#E257E7 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 69.1% C 0.237 H 326.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#E257E7
RGBrgb(226, 87, 231)
HSLhsl(298, 75%, 62%)
HSVhsv(298, 62%, 91%)
CMYKcmyk(2.2%, 62.3%, 0%, 9.4%)
CIE-LABlab(60.57, 71.42, -47.36)
CIE-LCHlch(60.57, 85.69, 326.45°)
OKLaboklab(69.06% 0.1969 -0.1311)
OKLCHoklch(69.06% 0.237 326.3)
XYZxyz(49.1951, 28.7578, 78.5454)
Luminance0.2875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257E7 #5CE757
analogous
#9A57E7 #E257E7 #E757A4
triadic
#E257E7 #E7E257 #57E7E2
tetradic
#E257E7 #E79A57 #5CE757 #57A4E7
square
#E257E7 #E79A57 #5CE757 #57A4E7
split-complementary
#E257E7 #A4E757 #57E79A
monochromatic
#A618AB #D921DF #E257E7 #EB8DEF #F4C2F6

Accessibility & contrast

On white

3.11
#E257E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#E257E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257E7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257E7#FFFFFF#000000##000000
##E257E71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#E86B98
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e257e7;
/* rgb */ color: rgb(226, 87, 231);
/* oklch */ color: oklch(69.1% 0.237 326.3);
Tailwind
colors: {
  custom: {
    50: '#ef8fef',
    500: '#e257e7',
    950: '#000000',
  },
}
SCSS
$custom: #e257e7;
$custom-light: #ef8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#e257e7",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 297.917,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.69055,
    "c": 0.23655,
    "h": 326.3
  },
  "luminance": 0.28755
}

Semantic roles & 50–950 ramp

primary
#E257E7
secondary
#B4E7B3
accent
#D70E15
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257E7

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

Preview Lab → · Contrast checker → · Palette generator →

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