#EA7AEB#EA7AEB

#EA7AEB is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.5% C 0.194 H 327.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#EA7AEB
RGBrgb(234, 122, 235)
HSLhsl(299, 74%, 70%)
HSVhsv(299, 48%, 92%)
CMYKcmyk(0.4%, 48.1%, 0%, 7.8%)
CIE-LABlab(67.59, 58.60, -38.48)
CIE-LCHlch(67.59, 70.11, 326.71°)
OKLaboklab(74.48% 0.1625 -0.1056)
OKLCHoklch(74.48% 0.194 327)
XYZxyz(55.8856, 37.4126, 82.8589)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AEB #7BEB7A
analogous
#B17AEB #EA7AEB #EB7AB4
triadic
#EA7AEB #EBEA7A #7AEBEA
tetradic
#EA7AEB #EBB17A #7BEB7A #7AB4EB
square
#EA7AEB #EBB17A #7BEB7A #7AB4EB
split-complementary
#EA7AEB #B4EB7A #7AEBB1
monochromatic
#CA1FCC #E245E3 #EA7AEB #F2AFF3 #FBE4FB

Accessibility & contrast

On white

2.48
#EA7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#EA7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AEB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AEB#FFFFFF#000000##000000
##EA7AEB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#F086A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea7aeb;
/* rgb */ color: rgb(234, 122, 235);
/* oklch */ color: oklch(74.5% 0.194 327.0);
Tailwind
colors: {
  custom: {
    50: '#f3a4f2',
    500: '#ea7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ea7aeb;
$custom-light: #f3a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7aeb",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 299.469,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.74478,
    "c": 0.19376,
    "h": 327
  },
  "luminance": 0.3741
}

Semantic roles & 50–950 ramp

primary
#EA7AEB
secondary
#D1F0D1
accent
#D61011
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EA7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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