#E257EC#E257EC

#E257EC is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.3% C 0.241 H 325.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#E257EC
RGBrgb(226, 87, 236)
HSLhsl(296, 80%, 63%)
HSVhsv(296, 63%, 93%)
CMYKcmyk(4.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(60.82, 72.27, -49.75)
CIE-LCHlch(60.82, 87.73, 325.46°)
OKLaboklab(69.32% 0.1971 -0.138)
OKLCHoklch(69.32% 0.241 325)
XYZxyz(49.9114, 29.0443, 82.3178)
Luminance0.2904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E257EC #61EC57
analogous
#9757EC #E257EC #EC57AB
triadic
#E257EC #ECE257 #57ECE2
tetradic
#E257EC #EC9757 #61EC57 #57ABEC
square
#E257EC #EC9757 #61EC57 #57ABEC
split-complementary
#E257EC #ABEC57 #57EC97
monochromatic
#A914B4 #D920E6 #E257EC #EB8EF2 #F5C5F8

Accessibility & contrast

On white

3.08
#E257EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#E257EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E257EC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E257EC#FFFFFF#000000##000000
##E257EC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#E76D9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #e257ec;
/* rgb */ color: rgb(226, 87, 236);
/* oklch */ color: oklch(69.3% 0.241 325.0);
Tailwind
colors: {
  custom: {
    50: '#ef8ff3',
    500: '#e257ec',
    950: '#000000',
  },
}
SCSS
$custom: #e257ec;
$custom-light: #ef8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#e257ec",
  "rgb": {
    "r": 226,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 295.973,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69321,
    "c": 0.24064,
    "h": 325
  },
  "luminance": 0.29041
}

Semantic roles & 50–950 ramp

primary
#E257EC
secondary
#B8EAB5
accent
#DC0A18
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #E257EC

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

Preview Lab → · Contrast checker → · Palette generator →

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