#EA7AF7#EA7AF7

#EA7AF7 is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.0% C 0.205 H 323.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EA7AF7
RGBrgb(234, 122, 247)
HSLhsl(294, 89%, 72%)
HSVhsv(294, 51%, 97%)
CMYKcmyk(5.3%, 50.6%, 0%, 3.1%)
CIE-LABlab(68.12, 60.74, -44.25)
CIE-LCHlch(68.12, 75.15, 323.92°)
OKLaboklab(75.04% 0.1642 -0.1222)
OKLCHoklch(75.04% 0.205 323.3)
XYZxyz(57.6781, 38.1296, 92.2993)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7AF7 #87F77A
analogous
#AC7AF7 #EA7AF7 #F77AC6
triadic
#EA7AF7 #F7EA7A #7AF7EA
tetradic
#EA7AF7 #F7AC7A #87F77A #7AC6F7
square
#EA7AF7 #F7AC7A #87F77A #7AC6F7
split-complementary
#EA7AF7 #C6F77A #7AF7AC
monochromatic
#D20EE9 #E140F4 #EA7AF7 #F3B4FA #FAE2FD

Accessibility & contrast

On white

2.43
#EA7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#EA7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7AF7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7AF7#FFFFFF#000000##000000
##EA7AF71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#8BABF3
Tritanopia (blue-blind)
#EE8AAE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7af7;
/* rgb */ color: rgb(234, 122, 247);
/* oklch */ color: oklch(75.0% 0.205 323.3);
Tailwind
colors: {
  custom: {
    50: '#f3a4fa',
    500: '#ea7af7',
    950: '#000000',
  },
}
SCSS
$custom: #ea7af7;
$custom-light: #f3a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7af7",
  "rgb": {
    "r": 234,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 293.76,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75043,
    "c": 0.20464,
    "h": 323.3
  },
  "luminance": 0.38127
}

Semantic roles & 50–950 ramp

primary
#EA7AF7
secondary
#D9F5D6
accent
#E50018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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