#EA7FEC#EA7FEC

#EA7FEC is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.187 H 326.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#EA7FEC
RGBrgb(234, 127, 236)
HSLhsl(299, 74%, 71%)
HSVhsv(299, 46%, 93%)
CMYKcmyk(0.8%, 46.2%, 0%, 7.5%)
CIE-LABlab(68.56, 56.34, -37.52)
CIE-LCHlch(68.56, 67.70, 326.34°)
OKLaboklab(75.21% 0.1558 -0.1029)
OKLCHoklch(75.21% 0.187 326.6)
XYZxyz(56.6603, 38.7302, 83.8318)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7FEC #81EC7F
analogous
#B37FEC #EA7FEC #EC7FB7
triadic
#EA7FEC #ECEA7F #7FECEA
tetradic
#EA7FEC #ECB37F #81EC7F #7FB7EC
square
#EA7FEC #ECB37F #81EC7F #7FB7EC
split-complementary
#EA7FEC #B7EC7F #7FECB3
monochromatic
#CE1FD2 #E14AE4 #EA7FEC #F3B4F4 #FBE4FB

Accessibility & contrast

On white

2.40
#EA7FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#EA7FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7FEC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7FEC#FFFFFF#000000##000000
##EA7FEC1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#EF8BAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea7fec;
/* rgb */ color: rgb(234, 127, 236);
/* oklch */ color: oklch(75.2% 0.187 326.6);
Tailwind
colors: {
  custom: {
    50: '#f3a7f2',
    500: '#ea7fec',
    950: '#000000',
  },
}
SCSS
$custom: #ea7fec;
$custom-light: #f3a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7fec",
  "rgb": {
    "r": 234,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 298.899,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.18671,
    "h": 326.6
  },
  "luminance": 0.38727
}

Semantic roles & 50–950 ramp

primary
#EA7FEC
secondary
#D6F2D5
accent
#D60F13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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