#EA7EF6#EA7EF6

#EA7EF6 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.5% C 0.198 H 323.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#EA7EF6
RGBrgb(234, 126, 246)
HSLhsl(294, 87%, 73%)
HSVhsv(294, 49%, 96%)
CMYKcmyk(4.9%, 48.8%, 0%, 3.5%)
CIE-LABlab(68.80, 58.63, -42.63)
CIE-LCHlch(68.80, 72.49, 323.98°)
OKLaboklab(75.54% 0.1587 -0.1175)
OKLCHoklch(75.54% 0.198 323.5)
XYZxyz(58.0255, 39.0707, 91.6559)
Luminance0.3907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7EF6 #8AF67E
analogous
#AE7EF6 #EA7EF6 #F67EC6
triadic
#EA7EF6 #F6EA7E #7EF6EA
tetradic
#EA7EF6 #F6AE7E #8AF67E #7EC6F6
square
#EA7EF6 #F6AE7E #8AF67E #7EC6F6
split-complementary
#EA7EF6 #C6F67E #7EF6AE
monochromatic
#D410E9 #E145F2 #EA7EF6 #F3B7FA #FAE2FD

Accessibility & contrast

On white

2.38
#EA7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#EA7EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7EF6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7EF6#FFFFFF#000000##000000
##EA7EF61.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#8EACF3
Tritanopia (blue-blind)
#EE8DAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea7ef6;
/* rgb */ color: rgb(234, 126, 246);
/* oklch */ color: oklch(75.5% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#f3a7f9',
    500: '#ea7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ea7ef6;
$custom-light: #f3a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7ef6",
  "rgb": {
    "r": 234,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 294,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75536,
    "c": 0.1975,
    "h": 323.5
  },
  "luminance": 0.39068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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