#EA7AF5#EA7AF5

#EA7AF5 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 74.9% C 0.203 H 323.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#EA7AF5
RGBrgb(234, 122, 245)
HSLhsl(295, 86%, 72%)
HSVhsv(295, 50%, 96%)
CMYKcmyk(4.5%, 50.2%, 0%, 3.9%)
CIE-LABlab(68.03, 60.38, -43.30)
CIE-LCHlch(68.03, 74.30, 324.36°)
OKLaboklab(74.95% 0.1639 -0.1194)
OKLCHoklch(74.95% 0.203 323.9)
XYZxyz(57.3711, 38.0068, 90.6826)
Luminance0.3800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AF5 #85F57A
analogous
#AD7AF5 #EA7AF5 #F57AC3
triadic
#EA7AF5 #F5EA7A #7AF5EA
tetradic
#EA7AF5 #F5AD7A #85F57A #7AC3F5
square
#EA7AF5 #F5AD7A #85F57A #7AC3F5
split-complementary
#EA7AF5 #C3F57A #7AF5AD
monochromatic
#D111E3 #E141F1 #EA7AF5 #F3B3F9 #FBE3FD

Accessibility & contrast

On white

2.44
#EA7AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#EA7AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AF5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AF5#FFFFFF#000000##000000
##EA7AF51.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#8CABF1
Tritanopia (blue-blind)
#EE89AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7af5;
/* rgb */ color: rgb(234, 122, 245);
/* oklch */ color: oklch(74.9% 0.203 323.9);
Tailwind
colors: {
  custom: {
    50: '#f3a4f9',
    500: '#ea7af5',
    950: '#000000',
  },
}
SCSS
$custom: #ea7af5;
$custom-light: #f3a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7af5",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 294.634,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74947,
    "c": 0.20279,
    "h": 323.9
  },
  "luminance": 0.38004
}

Semantic roles & 50–950 ramp

primary
#EA7AF5
secondary
#D9F5D6
accent
#E30317
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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