#E257DC#E257DC

#E257DC is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.5% C 0.228 H 329.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#E257DC
RGBrgb(226, 87, 220)
HSLhsl(303, 71%, 61%)
HSVhsv(303, 62%, 89%)
CMYKcmyk(0%, 61.5%, 2.7%, 11.4%)
CIE-LABlab(60.03, 69.60, -42.04)
CIE-LCHlch(60.03, 81.31, 328.87°)
OKLaboklab(68.49% 0.1962 -0.1157)
OKLCHoklch(68.49% 0.228 329.5)
XYZxyz(47.6901, 28.1557, 70.6190)
Luminance0.2815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257DC #57E25D
analogous
#A357E2 #E257DC #E25797
triadic
#E257DC #DCE257 #57DCE2
tetradic
#E257DC #E2A357 #57E25D #5797E2
square
#E257DC #E2A357 #57E25D #5797E2
split-complementary
#E257DC #97E257 #57E2A3
monochromatic
#A31C9D #D725CF #E257DC #EB8BE7 #F4BFF2

Accessibility & contrast

On white

3.17
#E257DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#E257DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257DC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257DC#FFFFFF#000000##000000
##E257DC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#EA6792
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e257dc;
/* rgb */ color: rgb(226, 87, 220);
/* oklch */ color: oklch(68.5% 0.228 329.5);
Tailwind
colors: {
  custom: {
    50: '#ee8fe7',
    500: '#e257dc',
    950: '#000000',
  },
}
SCSS
$custom: #e257dc;
$custom-light: #ee8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#e257dc",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 302.59,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6849,
    "c": 0.22776,
    "h": 329.5
  },
  "luminance": 0.28152
}

Semantic roles & 50–950 ramp

primary
#E257DC
secondary
#B0E4B3
accent
#D31B13
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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