#EA7FDB#EA7FDB

#EA7FDB is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.172 H 332.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EA7FDB
RGBrgb(234, 127, 219)
HSLhsl(308, 72%, 71%)
HSVhsv(308, 46%, 92%)
CMYKcmyk(0%, 45.7%, 6.4%, 8.2%)
CIE-LABlab(67.86, 53.41, -29.19)
CIE-LCHlch(67.86, 60.87, 331.34°)
OKLaboklab(74.47% 0.1526 -0.0792)
OKLCHoklch(74.47% 0.172 332.6)
XYZxyz(54.3069, 37.7889, 71.4376)
Luminance0.3779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7FDB #7FEA8E
analogous
#C37FEA #EA7FDB #EA7FA5
triadic
#EA7FDB #DBEA7F #7FDBEA
tetradic
#EA7FDB #EAC37F #7FEA8E #7FA5EA
square
#EA7FDB #EAC37F #7FEA8E #7FA5EA
split-complementary
#EA7FDB #A5EA7F #7FEAC3
monochromatic
#CD22B5 #E14ACC #EA7FDB #F3B4EA #FBE5F8

Accessibility & contrast

On white

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

On black

8.56
#EA7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7FDB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7FDB#FFFFFF#000000##000000
##EA7FDB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDE
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#F286A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea7fdb;
/* rgb */ color: rgb(234, 127, 219);
/* oklch */ color: oklch(74.5% 0.172 332.6);
Tailwind
colors: {
  custom: {
    50: '#f3a7e6',
    500: '#ea7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ea7fdb;
$custom-light: #f3a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7fdb",
  "rgb": {
    "r": 234,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 308.411,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7447,
    "c": 0.17188,
    "h": 332.6
  },
  "luminance": 0.37786
}

Semantic roles & 50–950 ramp

primary
#EA7FDB
secondary
#D4F1D8
accent
#D42D12
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EA7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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