#E257D9#E257D9

#E257D9 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.225 H 330.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#E257D9
RGBrgb(226, 87, 217)
HSLhsl(304, 71%, 61%)
HSVhsv(304, 62%, 89%)
CMYKcmyk(0%, 61.5%, 4%, 11.4%)
CIE-LABlab(59.89, 69.12, -40.57)
CIE-LCHlch(59.89, 80.14, 329.59°)
OKLaboklab(68.34% 0.1959 -0.1115)
OKLCHoklch(68.34% 0.225 330.4)
XYZxyz(47.2963, 27.9982, 68.5453)
Luminance0.2799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257D9 #57E260
analogous
#A657E2 #E257D9 #E25794
triadic
#E257D9 #D9E257 #57D9E2
tetradic
#E257D9 #E2A657 #57E260 #5794E2
square
#E257D9 #E2A657 #57E260 #5794E2
split-complementary
#E257D9 #94E257 #57E2A6
monochromatic
#A31C9A #D725CB #E257D9 #EB8BE5 #F4BFF1

Accessibility & contrast

On white

3.18
#E257D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#E257D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257D9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257D9#FFFFFF#000000##000000
##E257D91.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DD
Deuteranopia (green-blind)
#7C97D5
Tritanopia (blue-blind)
#EA6590
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #e257d9;
/* rgb */ color: rgb(226, 87, 217);
/* oklch */ color: oklch(68.3% 0.225 330.4);
Tailwind
colors: {
  custom: {
    50: '#ee8fe5',
    500: '#e257d9',
    950: '#000000',
  },
}
SCSS
$custom: #e257d9;
$custom-light: #ee8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#e257d9",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 303.885,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68341,
    "c": 0.22541,
    "h": 330.4
  },
  "luminance": 0.27995
}

Semantic roles & 50–950 ramp

primary
#E257D9
secondary
#B0E4B4
accent
#D31F13
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257D9

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

Preview Lab → · Contrast checker → · Palette generator →

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