#EA7CD8#EA7CD8

#EA7CD8 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.9% C 0.174 H 333.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#EA7CD8
RGBrgb(234, 124, 216)
HSLhsl(310, 72%, 70%)
HSVhsv(310, 47%, 92%)
CMYKcmyk(0%, 47%, 7.7%, 8.2%)
CIE-LABlab(67.18, 54.39, -28.58)
CIE-LCHlch(67.18, 61.45, 332.28°)
OKLaboklab(73.92% 0.1562 -0.0774)
OKLCHoklch(73.92% 0.174 333.6)
XYZxyz(53.5339, 36.8689, 69.2491)
Luminance0.3687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7CD8 #7CEA8E
analogous
#C57CEA #EA7CD8 #EA7CA1
triadic
#EA7CD8 #D8EA7C #7CD8EA
tetradic
#EA7CD8 #EAC57C #7CEA8E #7CA1EA
square
#EA7CD8 #EAC57C #7CEA8E #7CA1EA
split-complementary
#EA7CD8 #A1EA7C #7CEAC5
monochromatic
#CB21AF #E247C8 #EA7CD8 #F2B1E8 #FBE5F7

Accessibility & contrast

On white

2.51
#EA7CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#EA7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7CD8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7CD8#FFFFFF#000000##000000
##EA7CD81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DB
Deuteranopia (green-blind)
#99A9D5
Tritanopia (blue-blind)
#F382A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ea7cd8;
/* rgb */ color: rgb(234, 124, 216);
/* oklch */ color: oklch(73.9% 0.174 333.6);
Tailwind
colors: {
  custom: {
    50: '#f3a5e4',
    500: '#ea7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ea7cd8;
$custom-light: #f3a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7cd8",
  "rgb": {
    "r": 234,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 309.818,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.17431,
    "h": 333.6
  },
  "luminance": 0.36866
}

Semantic roles & 50–950 ramp

primary
#EA7CD8
secondary
#D2F0D7
accent
#D43111
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EA7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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