#EA7FE1#EA7FE1

#EA7FE1 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.177 H 330.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#EA7FE1
RGBrgb(234, 127, 225)
HSLhsl(305, 72%, 71%)
HSVhsv(305, 46%, 92%)
CMYKcmyk(0%, 45.7%, 3.8%, 8.2%)
CIE-LABlab(68.10, 54.43, -32.15)
CIE-LCHlch(68.10, 63.22, 329.43°)
OKLaboklab(74.72% 0.1538 -0.0876)
OKLCHoklch(74.72% 0.177 330.3)
XYZxyz(55.1111, 38.1105, 75.6728)
Luminance0.3811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7FE1 #7FEA88
analogous
#BD7FEA #EA7FE1 #EA7FAB
triadic
#EA7FE1 #E1EA7F #7FE1EA
tetradic
#EA7FE1 #EABD7F #7FEA88 #7FABEA
square
#EA7FE1 #EABD7F #7FEA88 #7FABEA
split-complementary
#EA7FE1 #ABEA7F #7FEABD
monochromatic
#CD22BF #E14AD5 #EA7FE1 #F3B4ED #FBE5F9

Accessibility & contrast

On white

2.44
#EA7FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#EA7FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7FE1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7FE1#FFFFFF#000000##000000
##EA7FE11.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE4
Deuteranopia (green-blind)
#98ABDE
Tritanopia (blue-blind)
#F187A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7fe1;
/* rgb */ color: rgb(234, 127, 225);
/* oklch */ color: oklch(74.7% 0.177 330.3);
Tailwind
colors: {
  custom: {
    50: '#f3a7ea',
    500: '#ea7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ea7fe1;
$custom-light: #f3a7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7fe1",
  "rgb": {
    "r": 234,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 305.047,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74725,
    "c": 0.17697,
    "h": 330.3
  },
  "luminance": 0.38107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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