#EA7CFE#EA7CFE

#EA7CFE is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.7% C 0.208 H 321.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#EA7CFE
RGBrgb(234, 124, 254)
HSLhsl(291, 98%, 74%)
HSVhsv(291, 51%, 100%)
CMYKcmyk(7.9%, 51.2%, 0%, 0.4%)
CIE-LABlab(68.80, 61.07, -47.01)
CIE-LCHlch(68.80, 77.07, 322.41°)
OKLaboklab(75.65% 0.1624 -0.1302)
OKLCHoklch(75.65% 0.208 321.3)
XYZxyz(59.0267, 39.0660, 98.1780)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7CFE #90FE7C
analogous
#A97CFE #EA7CFE #FE7CD1
triadic
#EA7CFE #FEEA7C #7CFEEA
tetradic
#EA7CFE #FEA97C #90FE7C #7CD1FE
square
#EA7CFE #FEA97C #90FE7C #7CD1FE
split-complementary
#EA7CFE #D1FE7C #7CFEA9
monochromatic
#D703FD #E03FFE #EA7CFE #F4B9FE #FAE1FF

Accessibility & contrast

On white

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

On black

8.81
#EA7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7CFE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7CFE#FFFFFF#000000##000000
##EA7CFE1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#EC8EB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea7cfe;
/* rgb */ color: rgb(234, 124, 254);
/* oklch */ color: oklch(75.7% 0.208 321.3);
Tailwind
colors: {
  custom: {
    50: '#f3a6ff',
    500: '#ea7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #ea7cfe;
$custom-light: #f3a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7cfe",
  "rgb": {
    "r": 234,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 290.769,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75652,
    "c": 0.20809,
    "h": 321.3
  },
  "luminance": 0.39063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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