#EA7AF2#EA7AF2

#EA7AF2 is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.8% C 0.200 H 324.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EA7AF2
RGBrgb(234, 122, 242)
HSLhsl(296, 82%, 71%)
HSVhsv(296, 50%, 95%)
CMYKcmyk(3.3%, 49.6%, 0%, 5.1%)
CIE-LABlab(67.89, 59.84, -41.86)
CIE-LCHlch(67.89, 73.03, 325.03°)
OKLaboklab(74.8% 0.1635 -0.1153)
OKLCHoklch(74.8% 0.2 324.8)
XYZxyz(56.9169, 37.8251, 88.2902)
Luminance0.3782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AF2 #82F27A
analogous
#AE7AF2 #EA7AF2 #F27ABE
triadic
#EA7AF2 #F2EA7A #7AF2EA
tetradic
#EA7AF2 #F2AE7A #82F27A #7ABEF2
square
#EA7AF2 #F2AE7A #82F27A #7ABEF2
split-complementary
#EA7AF2 #BEF27A #7AF2AE
monochromatic
#CF16DC #E142ED #EA7AF2 #F3B2F7 #FBE3FC

Accessibility & contrast

On white

2.45
#EA7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EA7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AF2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AF2#FFFFFF#000000##000000
##EA7AF21.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#EF88AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea7af2;
/* rgb */ color: rgb(234, 122, 242);
/* oklch */ color: oklch(74.8% 0.200 324.8);
Tailwind
colors: {
  custom: {
    50: '#f3a4f7',
    500: '#ea7af2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7af2;
$custom-light: #f3a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7af2",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 296,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74804,
    "c": 0.20005,
    "h": 324.8
  },
  "luminance": 0.37822
}

Semantic roles & 50–950 ramp

primary
#EA7AF2
secondary
#D6F3D4
accent
#DF0715
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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