#EA7CDC#EA7CDC

#EA7CDC is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.1% C 0.178 H 332.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#EA7CDC
RGBrgb(234, 124, 220)
HSLhsl(308, 72%, 70%)
HSVhsv(308, 47%, 92%)
CMYKcmyk(0%, 47%, 6%, 8.2%)
CIE-LABlab(67.34, 55.06, -30.56)
CIE-LCHlch(67.34, 62.97, 330.96°)
OKLaboklab(74.09% 0.157 -0.083)
OKLCHoklch(74.09% 0.178 332.1)
XYZxyz(54.0573, 37.0783, 72.0058)
Luminance0.3708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7CDC #7CEA8A
analogous
#C17CEA #EA7CDC #EA7CA5
triadic
#EA7CDC #DCEA7C #7CDCEA
tetradic
#EA7CDC #EAC17C #7CEA8A #7CA5EA
square
#EA7CDC #EAC17C #7CEA8A #7CA5EA
split-complementary
#EA7CDC #A5EA7C #7CEAC1
monochromatic
#CB21B5 #E247CE #EA7CDC #F2B1EA #FBE5F8

Accessibility & contrast

On white

2.50
#EA7CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#EA7CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7CDC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7CDC#FFFFFF#000000##000000
##EA7CDC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#F283A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ea7cdc;
/* rgb */ color: rgb(234, 124, 220);
/* oklch */ color: oklch(74.1% 0.178 332.1);
Tailwind
colors: {
  custom: {
    50: '#f3a5e7',
    500: '#ea7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ea7cdc;
$custom-light: #f3a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7cdc",
  "rgb": {
    "r": 234,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 307.636,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74089,
    "c": 0.1776,
    "h": 332.1
  },
  "luminance": 0.37075
}

Semantic roles & 50–950 ramp

primary
#EA7CDC
secondary
#D2F0D6
accent
#D42A11
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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