#E257F2#E257F2

#E257F2 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.6% C 0.246 H 323.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#E257F2
RGBrgb(226, 87, 242)
HSLhsl(294, 86%, 65%)
HSVhsv(294, 64%, 95%)
CMYKcmyk(6.6%, 64%, 0%, 5.1%)
CIE-LABlab(61.13, 73.30, -52.59)
CIE-LCHlch(61.13, 90.21, 324.34°)
OKLaboklab(69.65% 0.1973 -0.1463)
OKLCHoklch(69.65% 0.246 323.4)
XYZxyz(50.7977, 29.3988, 86.9861)
Luminance0.2940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257F2 #67F257
analogous
#9457F2 #E257F2 #F257B5
triadic
#E257F2 #F2E257 #57F2E2
tetradic
#E257F2 #F29457 #67F257 #57B5F2
square
#E257F2 #F29457 #67F257 #57B5F2
split-complementary
#E257F2 #B5F257 #57F294
monochromatic
#AD0FC0 #D81EEE #E257F2 #EC90F6 #F6C9FB

Accessibility & contrast

On white

3.05
#E257F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#E257F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257F2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257F2#FFFFFF#000000##000000
##E257F21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F7
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#E66F9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #e257f2;
/* rgb */ color: rgb(226, 87, 242);
/* oklch */ color: oklch(69.6% 0.246 323.4);
Tailwind
colors: {
  custom: {
    50: '#ef90f7',
    500: '#e257f2',
    950: '#000000',
  },
}
SCSS
$custom: #e257f2;
$custom-light: #ef90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e257f2",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 293.806,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69646,
    "c": 0.24558,
    "h": 323.4
  },
  "luminance": 0.29396
}

Semantic roles & 50–950 ramp

primary
#E257F2
secondary
#BDEDB8
accent
#E2031A
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #E257F2

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

Preview Lab → · Contrast checker → · Palette generator →

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