#EA7DF8#EA7DF8

#EA7DF8 is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.5% C 0.201 H 322.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#EA7DF8
RGBrgb(234, 125, 248)
HSLhsl(293, 90%, 73%)
HSVhsv(293, 50%, 97%)
CMYKcmyk(5.6%, 49.6%, 0%, 2.7%)
CIE-LABlab(68.71, 59.48, -43.87)
CIE-LCHlch(68.71, 73.91, 323.59°)
OKLaboklab(75.5% 0.1603 -0.1211)
OKLCHoklch(75.5% 0.201 322.9)
XYZxyz(58.2069, 38.9396, 93.2388)
Luminance0.3894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7DF8 #8BF87D
analogous
#AC7DF8 #EA7DF8 #F87DC8
triadic
#EA7DF8 #F8EA7D #7DF8EA
tetradic
#EA7DF8 #F8AC7D #8BF87D #7DC8F8
square
#EA7DF8 #F8AC7D #8BF87D #7DC8F8
split-complementary
#EA7DF8 #C8F87D #7DF8AC
monochromatic
#D40DEE #E143F5 #EA7DF8 #F3B7FB #FAE2FD

Accessibility & contrast

On white

2.39
#EA7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#EA7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7DF8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7DF8#FFFFFF#000000##000000
##EA7DF81.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFC
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#ED8DAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea7df8;
/* rgb */ color: rgb(234, 125, 248);
/* oklch */ color: oklch(75.5% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#f3a6fb',
    500: '#ea7df8',
    950: '#000000',
  },
}
SCSS
$custom: #ea7df8;
$custom-light: #f3a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7df8",
  "rgb": {
    "r": 234,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 293.171,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.20092,
    "h": 322.9
  },
  "luminance": 0.38937
}

Semantic roles & 50–950 ramp

primary
#EA7DF8
secondary
#D9F6D5
accent
#E6001A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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