#EA7DFC#EA7DFC

#EA7DFC is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.205 H 321.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EA7DFC
RGBrgb(234, 125, 252)
HSLhsl(291, 95%, 74%)
HSVhsv(291, 50%, 99%)
CMYKcmyk(7.1%, 50.4%, 0%, 1.2%)
CIE-LABlab(68.89, 60.22, -45.78)
CIE-LCHlch(68.89, 75.65, 322.76°)
OKLaboklab(75.69% 0.1608 -0.1266)
OKLCHoklch(75.69% 0.205 321.8)
XYZxyz(58.8341, 39.1905, 96.5420)
Luminance0.3919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7DFC #8FFC7D
analogous
#AB7DFC #EA7DFC #FC7DCF
triadic
#EA7DFC #FCEA7D #7DFCEA
tetradic
#EA7DFC #FCAB7D #8FFC7D #7DCFFC
square
#EA7DFC #FCAB7D #8FFC7D #7DCFFC
split-complementary
#EA7DFC #CFFC7D #7DFCAB
monochromatic
#D606F9 #E041FB #EA7DFC #F4B9FD #FAE1FE

Accessibility & contrast

On white

2.38
#EA7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EA7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7DFC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7DFC#FFFFFF#000000##000000
##EA7DFC1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#ED8EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea7dfc;
/* rgb */ color: rgb(234, 125, 252);
/* oklch */ color: oklch(75.7% 0.205 321.8);
Tailwind
colors: {
  custom: {
    50: '#f3a6fe',
    500: '#ea7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ea7dfc;
$custom-light: #f3a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7dfc",
  "rgb": {
    "r": 234,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 291.496,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75688,
    "c": 0.20467,
    "h": 321.8
  },
  "luminance": 0.39188
}

Semantic roles & 50–950 ramp

primary
#EA7DFC
secondary
#D9F7D4
accent
#E60021
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EA7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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