#E257E8#E257E8

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

Color values

HEX#E257E8
RGBrgb(226, 87, 232)
HSLhsl(298, 76%, 63%)
HSVhsv(298, 63%, 91%)
CMYKcmyk(2.6%, 62.5%, 0%, 9%)
CIE-LABlab(60.62, 71.59, -47.84)
CIE-LCHlch(60.62, 86.10, 326.25°)
OKLaboklab(69.11% 0.197 -0.1325)
OKLCHoklch(69.11% 0.237 326.1)
XYZxyz(49.3367, 28.8144, 79.2914)
Luminance0.2881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257E8 #5DE857
analogous
#9957E8 #E257E8 #E857A6
triadic
#E257E8 #E8E257 #57E8E2
tetradic
#E257E8 #E89957 #5DE857 #57A6E8
square
#E257E8 #E89957 #5DE857 #57A6E8
split-complementary
#E257E8 #A6E857 #57E899
monochromatic
#A718AD #D921E1 #E257E8 #EB8DEF #F5C3F7

Accessibility & contrast

On white

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

On black

6.76
#E257E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257E8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257E8#FFFFFF#000000##000000
##E257E81.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#7598E4
Tritanopia (blue-blind)
#E86B98
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e257e8;
/* rgb */ color: rgb(226, 87, 232);
/* oklch */ color: oklch(69.1% 0.237 326.1);
Tailwind
colors: {
  custom: {
    50: '#ef8ff0',
    500: '#e257e8',
    950: '#000000',
  },
}
SCSS
$custom: #e257e8;
$custom-light: #ef8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#e257e8",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 297.517,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.23736,
    "h": 326.1
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#E257E8
secondary
#B5E8B3
accent
#D80D16
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257E8

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

Preview Lab → · Contrast checker → · Palette generator →

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