#EA7AFE#EA7AFE

#EA7AFE is a light, highly saturated purple. Relative luminance 0.386; OKLCH L 75.4% C 0.211 H 321.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#EA7AFE
RGBrgb(234, 122, 254)
HSLhsl(291, 99%, 74%)
HSVhsv(291, 52%, 100%)
CMYKcmyk(7.9%, 52%, 0%, 0.4%)
CIE-LABlab(68.44, 62.03, -47.58)
CIE-LCHlch(68.44, 78.18, 322.51°)
OKLaboklab(75.39% 0.165 -0.1318)
OKLCHoklch(75.39% 0.211 321.4)
XYZxyz(58.7786, 38.5698, 98.0953)
Luminance0.3857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AFE #8EFE7A
analogous
#A87AFE #EA7AFE #FE7AD0
triadic
#EA7AFE #FEEA7A #7AFEEA
tetradic
#EA7AFE #FEA87A #8EFE7A #7AD0FE
square
#EA7AFE #FEA87A #8EFE7A #7AD0FE
split-complementary
#EA7AFE #D0FE7A #7AFEA8
monochromatic
#D602FC #E03DFE #EA7AFE #F4B7FE #FAE1FF

Accessibility & contrast

On white

2.41
#EA7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#EA7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AFE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AFE#FFFFFF#000000##000000
##EA7AFE1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#EC8CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea7afe;
/* rgb */ color: rgb(234, 122, 254);
/* oklch */ color: oklch(75.4% 0.211 321.4);
Tailwind
colors: {
  custom: {
    50: '#f3a5ff',
    500: '#ea7afe',
    950: '#000000',
  },
}
SCSS
$custom: #ea7afe;
$custom-light: #f3a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7afe",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 290.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75386,
    "c": 0.21114,
    "h": 321.4
  },
  "luminance": 0.38567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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