#EA7AFC#EA7AFC

#EA7AFC is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.3% C 0.209 H 321.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#EA7AFC
RGBrgb(234, 122, 252)
HSLhsl(292, 96%, 73%)
HSVhsv(292, 52%, 99%)
CMYKcmyk(7.1%, 51.6%, 0%, 1.2%)
CIE-LABlab(68.35, 61.66, -46.63)
CIE-LCHlch(68.35, 77.31, 322.90°)
OKLaboklab(75.29% 0.1647 -0.129)
OKLCHoklch(75.29% 0.209 321.9)
XYZxyz(58.4600, 38.4424, 96.4174)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AFC #8CFC7A
analogous
#A97AFC #EA7AFC #FC7ACD
triadic
#EA7AFC #FCEA7A #7AFCEA
tetradic
#EA7AFC #FCA97A #8CFC7A #7ACDFC
square
#EA7AFC #FCA97A #8CFC7A #7ACDFC
split-complementary
#EA7AFC #CDFC7A #7AFCA9
monochromatic
#D506F6 #E13EFB #EA7AFC #F3B6FD #FAE1FE

Accessibility & contrast

On white

2.42
#EA7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#EA7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AFC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AFC#FFFFFF#000000##000000
##EA7AFC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#ED8CB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea7afc;
/* rgb */ color: rgb(234, 122, 252);
/* oklch */ color: oklch(75.3% 0.209 321.9);
Tailwind
colors: {
  custom: {
    50: '#f3a4fe',
    500: '#ea7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ea7afc;
$custom-light: #f3a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7afc",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 291.692,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75287,
    "c": 0.20927,
    "h": 321.9
  },
  "luminance": 0.3844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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