#EA7FE2#EA7FE2

#EA7FE2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.8% C 0.178 H 330.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EA7FE2
RGBrgb(234, 127, 226)
HSLhsl(304, 72%, 71%)
HSVhsv(304, 46%, 92%)
CMYKcmyk(0%, 45.7%, 3.4%, 8.2%)
CIE-LABlab(68.14, 54.60, -32.64)
CIE-LCHlch(68.14, 63.61, 329.13°)
OKLaboklab(74.77% 0.154 -0.089)
OKLCHoklch(74.77% 0.178 330)
XYZxyz(55.2479, 38.1652, 76.3933)
Luminance0.3816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7FE2 #7FEA87
analogous
#BC7FEA #EA7FE2 #EA7FAC
triadic
#EA7FE2 #E2EA7F #7FE2EA
tetradic
#EA7FE2 #EABC7F #7FEA87 #7FACEA
square
#EA7FE2 #EABC7F #7FEA87 #7FACEA
split-complementary
#EA7FE2 #ACEA7F #7FEABC
monochromatic
#CD22C0 #E14AD6 #EA7FE2 #F3B4EE #FBE5F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EA7FE2#FFFFFF#000000##000000
##EA7FE21.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)
#799DE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F188A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7fe2;
/* rgb */ color: rgb(234, 127, 226);
/* oklch */ color: oklch(74.8% 0.178 330.0);
Tailwind
colors: {
  custom: {
    50: '#f3a7eb',
    500: '#ea7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7fe2;
$custom-light: #f3a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7fe2",
  "rgb": {
    "r": 234,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 304.486,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74768,
    "c": 0.17784,
    "h": 330
  },
  "luminance": 0.38162
}

Semantic roles & 50–950 ramp

primary
#EA7FE2
secondary
#D4F1D6
accent
#D42012
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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