#EA7AFD#EA7AFD

#EA7AFD is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.3% C 0.210 H 321.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#EA7AFD
RGBrgb(234, 122, 253)
HSLhsl(291, 97%, 74%)
HSVhsv(291, 52%, 99%)
CMYKcmyk(7.5%, 51.8%, 0%, 0.8%)
CIE-LABlab(68.39, 61.84, -47.11)
CIE-LCHlch(68.39, 77.74, 322.70°)
OKLaboklab(75.34% 0.1649 -0.1304)
OKLCHoklch(75.34% 0.21 321.7)
XYZxyz(58.6189, 38.5060, 97.2541)
Luminance0.3850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AFD #8DFD7A
analogous
#A87AFD #EA7AFD #FD7ACE
triadic
#EA7AFD #FDEA7A #7AFDEA
tetradic
#EA7AFD #FDA87A #8DFD7A #7ACEFD
square
#EA7AFD #FDA87A #8DFD7A #7ACEFD
split-complementary
#EA7AFD #CEFD7A #7AFDA8
monochromatic
#D504F9 #E03EFC #EA7AFD #F4B6FE #FAE1FF

Accessibility & contrast

On white

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

On black

8.70
#EA7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AFD
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AFD#FFFFFF#000000##000000
##EA7AFD1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#EC8CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea7afd;
/* rgb */ color: rgb(234, 122, 253);
/* oklch */ color: oklch(75.3% 0.210 321.7);
Tailwind
colors: {
  custom: {
    50: '#f3a5fe',
    500: '#ea7afd',
    950: '#000000',
  },
}
SCSS
$custom: #ea7afd;
$custom-light: #f3a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7afd",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 291.298,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75337,
    "c": 0.2102,
    "h": 321.7
  },
  "luminance": 0.38503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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