#EA7EE2#EA7EE2

#EA7EE2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.6% C 0.179 H 330.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#EA7EE2
RGBrgb(234, 126, 226)
HSLhsl(304, 72%, 71%)
HSVhsv(304, 46%, 92%)
CMYKcmyk(0%, 46.2%, 3.4%, 8.2%)
CIE-LABlab(67.95, 55.09, -32.94)
CIE-LCHlch(67.95, 64.19, 329.13°)
OKLaboklab(74.63% 0.1554 -0.0898)
OKLCHoklch(74.63% 0.179 330)
XYZxyz(55.1194, 37.9082, 76.3505)
Luminance0.3790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7EE2 #7EEA86
analogous
#BC7EEA #EA7EE2 #EA7EAC
triadic
#EA7EE2 #E2EA7E #7EE2EA
tetradic
#EA7EE2 #EABC7E #7EEA86 #7EACEA
square
#EA7EE2 #EABC7E #7EEA86 #7EACEA
split-complementary
#EA7EE2 #ACEA7E #7EEABC
monochromatic
#CC21C0 #E149D6 #EA7EE2 #F3B3EE #FBE5F9

Accessibility & contrast

On white

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

On black

8.58
#EA7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7EE2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7EE2#FFFFFF#000000##000000
##EA7EE21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F187A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7ee2;
/* rgb */ color: rgb(234, 126, 226);
/* oklch */ color: oklch(74.6% 0.179 330.0);
Tailwind
colors: {
  custom: {
    50: '#f3a7eb',
    500: '#ea7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7ee2;
$custom-light: #f3a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7ee2",
  "rgb": {
    "r": 234,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 304.444,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74627,
    "c": 0.17946,
    "h": 330
  },
  "luminance": 0.37905
}

Semantic roles & 50–950 ramp

primary
#EA7EE2
secondary
#D3F1D5
accent
#D42011
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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