#EA7CEB#EA7CEB

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

Color values

HEX#EA7CEB
RGBrgb(234, 124, 235)
HSLhsl(299, 74%, 70%)
HSVhsv(299, 47%, 92%)
CMYKcmyk(0.4%, 47.2%, 0%, 7.8%)
CIE-LABlab(67.95, 57.63, -37.91)
CIE-LCHlch(67.95, 68.98, 326.66°)
OKLaboklab(74.75% 0.1597 -0.104)
OKLCHoklch(74.75% 0.191 326.9)
XYZxyz(56.1337, 37.9088, 82.9416)
Luminance0.3791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7CEB #7DEB7C
analogous
#B27CEB #EA7CEB #EB7CB5
triadic
#EA7CEB #EBEA7C #7CEBEA
tetradic
#EA7CEB #EBB27C #7DEB7C #7CB5EB
square
#EA7CEB #EBB27C #7DEB7C #7CB5EB
split-complementary
#EA7CEB #B5EB7C #7CEBB2
monochromatic
#CC1FCD #E147E3 #EA7CEB #F3B1F3 #FBE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EA7CEB#FFFFFF#000000##000000
##EA7CEB1.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)
#729DEF
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#F088A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7ceb;
/* rgb */ color: rgb(234, 124, 235);
/* oklch */ color: oklch(74.8% 0.191 326.9);
Tailwind
colors: {
  custom: {
    50: '#f3a5f2',
    500: '#ea7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ea7ceb;
$custom-light: #f3a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7ceb",
  "rgb": {
    "r": 234,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 299.459,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.1906,
    "h": 326.9
  },
  "luminance": 0.37906
}

Semantic roles & 50–950 ramp

primary
#EA7CEB
secondary
#D2F1D2
accent
#D61012
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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