#EA7FE4#EA7FE4

#EA7FE4 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.180 H 329.3°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#EA7FE4
RGBrgb(234, 127, 228)
HSLhsl(303, 72%, 71%)
HSVhsv(303, 46%, 92%)
CMYKcmyk(0%, 45.7%, 2.6%, 8.2%)
CIE-LABlab(68.22, 54.94, -33.62)
CIE-LCHlch(68.22, 64.42, 328.53°)
OKLaboklab(74.86% 0.1544 -0.0918)
OKLCHoklch(74.86% 0.18 329.3)
XYZxyz(55.5239, 38.2756, 77.8471)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7FE4 #7FEA85
analogous
#BA7FEA #EA7FE4 #EA7FAF
triadic
#EA7FE4 #E4EA7F #7FE4EA
tetradic
#EA7FE4 #EABA7F #7FEA85 #7FAFEA
square
#EA7FE4 #EABA7F #7FEA85 #7FAFEA
split-complementary
#EA7FE4 #AFEA7F #7FEABA
monochromatic
#CD22C3 #E14AD9 #EA7FE4 #F3B4EF #FBE5F9

Accessibility & contrast

On white

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

On black

8.65
#EA7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7FE4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7FE4#FFFFFF#000000##000000
##EA7FE41.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#97ACE1
Tritanopia (blue-blind)
#F188A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7fe4;
/* rgb */ color: rgb(234, 127, 228);
/* oklch */ color: oklch(74.9% 0.180 329.3);
Tailwind
colors: {
  custom: {
    50: '#f3a7ec',
    500: '#ea7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ea7fe4;
$custom-light: #f3a7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7fe4",
  "rgb": {
    "r": 234,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 303.364,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74855,
    "c": 0.17958,
    "h": 329.3
  },
  "luminance": 0.38273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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