#E257DF#E257DF

#E257DF is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.6% C 0.230 H 328.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#E257DF
RGBrgb(226, 87, 223)
HSLhsl(301, 71%, 61%)
HSVhsv(301, 62%, 89%)
CMYKcmyk(0%, 61.5%, 1.3%, 11.4%)
CIE-LABlab(60.17, 70.09, -43.50)
CIE-LCHlch(60.17, 82.49, 328.18°)
OKLaboklab(68.64% 0.1964 -0.1199)
OKLCHoklch(68.64% 0.23 328.6)
XYZxyz(48.0910, 28.3161, 72.7303)
Luminance0.2831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257DF #57E25A
analogous
#A057E2 #E257DF #E2579A
triadic
#E257DF #DFE257 #57DFE2
tetradic
#E257DF #E2A057 #57E25A #579AE2
square
#E257DF #E2A057 #57E25A #579AE2
split-complementary
#E257DF #9AE257 #57E2A0
monochromatic
#A31CA0 #D725D3 #E257DF #EB8BE9 #F4BFF3

Accessibility & contrast

On white

3.15
#E257DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#E257DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257DF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257DF#FFFFFF#000000##000000
##E257DF1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#7A98DB
Tritanopia (blue-blind)
#E96893
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e257df;
/* rgb */ color: rgb(226, 87, 223);
/* oklch */ color: oklch(68.6% 0.230 328.6);
Tailwind
colors: {
  custom: {
    50: '#ee8fe9',
    500: '#e257df',
    950: '#000000',
  },
}
SCSS
$custom: #e257df;
$custom-light: #ee8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#e257df",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 301.295,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68642,
    "c": 0.23013,
    "h": 328.6
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#E257DF
secondary
#B0E4B2
accent
#D31713
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257DF

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

Preview Lab → · Contrast checker → · Palette generator →

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