#E257DD#E257DD

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

Color values

HEX#E257DD
RGBrgb(226, 87, 221)
HSLhsl(302, 71%, 61%)
HSVhsv(302, 62%, 89%)
CMYKcmyk(0%, 61.5%, 2.2%, 11.4%)
CIE-LABlab(60.08, 69.76, -42.52)
CIE-LCHlch(60.08, 81.70, 328.64°)
OKLaboklab(68.54% 0.1963 -0.1171)
OKLCHoklch(68.54% 0.229 329.2)
XYZxyz(47.8229, 28.2089, 71.3186)
Luminance0.2821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257DD #57E25C
analogous
#A257E2 #E257DD #E25798
triadic
#E257DD #DDE257 #57DDE2
tetradic
#E257DD #E2A257 #57E25C #5798E2
square
#E257DD #E2A257 #57E25C #5798E2
split-complementary
#E257DD #98E257 #57E2A2
monochromatic
#A31C9E #D725D0 #E257DD #EB8BE8 #F4BFF2

Accessibility & contrast

On white

3.16
#E257DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#E257DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257DD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257DD#FFFFFF#000000##000000
##E257DD1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#7B97D9
Tritanopia (blue-blind)
#E96792
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e257dd;
/* rgb */ color: rgb(226, 87, 221);
/* oklch */ color: oklch(68.5% 0.229 329.2);
Tailwind
colors: {
  custom: {
    50: '#ee8fe8',
    500: '#e257dd',
    950: '#000000',
  },
}
SCSS
$custom: #e257dd;
$custom-light: #ee8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#e257dd",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 302.158,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.68541,
    "c": 0.22855,
    "h": 329.2
  },
  "luminance": 0.28206
}

Semantic roles & 50–950 ramp

primary
#E257DD
secondary
#B0E4B2
accent
#D31A13
background
#FFF9FE
surface
#FEF2FC
border
#D6CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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