#EA7AFB#EA7AFB

#EA7AFB is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.2% C 0.208 H 322.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#EA7AFB
RGBrgb(234, 122, 251)
HSLhsl(292, 94%, 73%)
HSVhsv(292, 51%, 98%)
CMYKcmyk(6.8%, 51.4%, 0%, 1.6%)
CIE-LABlab(68.30, 61.47, -46.16)
CIE-LCHlch(68.30, 76.87, 323.10°)
OKLaboklab(75.24% 0.1646 -0.1277)
OKLCHoklch(75.24% 0.208 322.2)
XYZxyz(58.3020, 38.3792, 95.5850)
Luminance0.3838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AFB #8BFB7A
analogous
#A97AFB #EA7AFB #FB7ACB
triadic
#EA7AFB #FBEA7A #7AFBEA
tetradic
#EA7AFB #FBA97A #8BFB7A #7ACBFB
square
#EA7AFB #FBA97A #8BFB7A #7ACBFB
split-complementary
#EA7AFB #CBFB7A #7AFBA9
monochromatic
#D407F3 #E13FF9 #EA7AFB #F3B5FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.68
#EA7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AFB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AFB#FFFFFF#000000##000000
##EA7AFB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#ED8BB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7afb;
/* rgb */ color: rgb(234, 122, 251);
/* oklch */ color: oklch(75.2% 0.208 322.2);
Tailwind
colors: {
  custom: {
    50: '#f3a4fd',
    500: '#ea7afb',
    950: '#000000',
  },
}
SCSS
$custom: #ea7afb;
$custom-light: #f3a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7afb",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 292.093,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75238,
    "c": 0.20834,
    "h": 322.2
  },
  "luminance": 0.38377
}

Semantic roles & 50–950 ramp

primary
#EA7AFB
secondary
#D9F6D5
accent
#E6001E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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