#EA7DDB#EA7DDB

#EA7DDB is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.2% C 0.175 H 332.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#EA7DDB
RGBrgb(234, 125, 219)
HSLhsl(308, 72%, 70%)
HSVhsv(308, 47%, 92%)
CMYKcmyk(0%, 46.6%, 6.4%, 8.2%)
CIE-LABlab(67.48, 54.40, -29.78)
CIE-LCHlch(67.48, 62.02, 331.30°)
OKLaboklab(74.19% 0.1554 -0.0808)
OKLCHoklch(74.19% 0.175 332.5)
XYZxyz(54.0512, 37.2774, 71.3524)
Luminance0.3727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7DDB #7DEA8C
analogous
#C27DEA #EA7DDB #EA7DA4
triadic
#EA7DDB #DBEA7D #7DDBEA
tetradic
#EA7DDB #EAC27D #7DEA8C #7DA4EA
square
#EA7DDB #EAC27D #7DEA8C #7DA4EA
split-complementary
#EA7DDB #A4EA7D #7DEAC2
monochromatic
#CC21B4 #E148CC #EA7DDB #F3B2EA #FBE5F8

Accessibility & contrast

On white

2.48
#EA7DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#EA7DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7DDB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7DDB#FFFFFF#000000##000000
##EA7DDB1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#F284A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ea7ddb;
/* rgb */ color: rgb(234, 125, 219);
/* oklch */ color: oklch(74.2% 0.175 332.5);
Tailwind
colors: {
  custom: {
    50: '#f3a6e6',
    500: '#ea7ddb',
    950: '#000000',
  },
}
SCSS
$custom: #ea7ddb;
$custom-light: #f3a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7ddb",
  "rgb": {
    "r": 234,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 308.257,
    "s": 72.185,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.17515,
    "h": 332.5
  },
  "luminance": 0.37274
}

Semantic roles & 50–950 ramp

primary
#EA7DDB
secondary
#D2F0D7
accent
#D42C11
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA7DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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