#EA7AF0#EA7AF0

#EA7AF0 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.7% C 0.198 H 325.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#EA7AF0
RGBrgb(234, 122, 240)
HSLhsl(297, 80%, 71%)
HSVhsv(297, 49%, 94%)
CMYKcmyk(2.5%, 49.2%, 0%, 5.9%)
CIE-LABlab(67.80, 59.48, -40.90)
CIE-LCHlch(67.80, 72.19, 325.49°)
OKLaboklab(74.71% 0.1632 -0.1125)
OKLCHoklch(74.71% 0.198 325.4)
XYZxyz(56.6181, 37.7057, 86.7168)
Luminance0.3770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AF0 #80F07A
analogous
#AF7AF0 #EA7AF0 #F07ABB
triadic
#EA7AF0 #F0EA7A #7AF0EA
tetradic
#EA7AF0 #F0AF7A #80F07A #7ABBF0
square
#EA7AF0 #F0AF7A #80F07A #7ABBF0
split-complementary
#EA7AF0 #BBF07A #7AF0AF
monochromatic
#CE18D7 #E143EA #EA7AF0 #F3B1F6 #FBE4FC

Accessibility & contrast

On white

2.46
#EA7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#EA7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AF0
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AF0#FFFFFF#000000##000000
##EA7AF01.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF4
Deuteranopia (green-blind)
#8EAAED
Tritanopia (blue-blind)
#EF88AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea7af0;
/* rgb */ color: rgb(234, 122, 240);
/* oklch */ color: oklch(74.7% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#f3a4f5',
    500: '#ea7af0',
    950: '#000000',
  },
}
SCSS
$custom: #ea7af0;
$custom-light: #f3a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7af0",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 296.949,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7471,
    "c": 0.19824,
    "h": 325.4
  },
  "luminance": 0.37703
}

Semantic roles & 50–950 ramp

primary
#EA7AF0
secondary
#D5F3D3
accent
#DC0914
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EA7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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