#E257D2#E257D2

#E257D2 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.0% C 0.220 H 332.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#E257D2
RGBrgb(226, 87, 210)
HSLhsl(307, 71%, 61%)
HSVhsv(307, 62%, 89%)
CMYKcmyk(0%, 61.5%, 7.1%, 11.4%)
CIE-LABlab(59.56, 68.01, -37.12)
CIE-LCHlch(59.56, 77.48, 331.37°)
OKLaboklab(68% 0.1952 -0.1016)
OKLCHoklch(68% 0.22 332.5)
XYZxyz(46.4051, 27.6418, 63.8515)
Luminance0.2764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257D2 #57E267
analogous
#AC57E2 #E257D2 #E2578D
triadic
#E257D2 #D2E257 #57D2E2
tetradic
#E257D2 #E2AC57 #57E267 #578DE2
square
#E257D2 #E2AC57 #57E267 #578DE2
split-complementary
#E257D2 #8DE257 #57E2AC
monochromatic
#A31C93 #D725C2 #E257D2 #EB8BE0 #F4BFEE

Accessibility & contrast

On white

3.22
#E257D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#E257D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257D2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257D2#FFFFFF#000000##000000
##E257D21.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D6
Deuteranopia (green-blind)
#8097CE
Tritanopia (blue-blind)
#EB638D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e257d2;
/* rgb */ color: rgb(226, 87, 210);
/* oklch */ color: oklch(68.0% 0.220 332.5);
Tailwind
colors: {
  custom: {
    50: '#ee8fe0',
    500: '#e257d2',
    950: '#000000',
  },
}
SCSS
$custom: #e257d2;
$custom-light: #ee8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#e257d2",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 306.906,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68,
    "c": 0.22004,
    "h": 332.5
  },
  "luminance": 0.27638
}

Semantic roles & 50–950 ramp

primary
#E257D2
secondary
#B0E4B6
accent
#D32913
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E257D2

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

Preview Lab → · Contrast checker → · Palette generator →

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