#EA7EFB#EA7EFB

#EA7EFB is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.8% C 0.202 H 322.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#EA7EFB
RGBrgb(234, 126, 251)
HSLhsl(292, 94%, 74%)
HSVhsv(292, 50%, 98%)
CMYKcmyk(6.8%, 49.8%, 0%, 1.6%)
CIE-LABlab(69.03, 59.55, -45.02)
CIE-LCHlch(69.03, 74.65, 322.91°)
OKLaboklab(75.78% 0.1594 -0.1244)
OKLCHoklch(75.78% 0.202 322)
XYZxyz(58.8032, 39.3818, 95.7521)
Luminance0.3938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7EFB #8FFB7E
analogous
#AC7EFB #EA7EFB #FB7ECE
triadic
#EA7EFB #FBEA7E #7EFBEA
tetradic
#EA7EFB #FBAC7E #8FFB7E #7ECEFB
square
#EA7EFB #FBAC7E #8FFB7E #7ECEFB
split-complementary
#EA7EFB #CEFB7E #7EFBAC
monochromatic
#D608F7 #E043F9 #EA7EFB #F4B9FD #FAE1FE

Accessibility & contrast

On white

2.37
#EA7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#EA7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7EFB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7EFB#FFFFFF#000000##000000
##EA7EFB1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#ED8EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea7efb;
/* rgb */ color: rgb(234, 126, 251);
/* oklch */ color: oklch(75.8% 0.202 322.0);
Tailwind
colors: {
  custom: {
    50: '#f3a7fd',
    500: '#ea7efb',
    950: '#000000',
  },
}
SCSS
$custom: #ea7efb;
$custom-light: #f3a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7efb",
  "rgb": {
    "r": 234,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 291.84,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.20218,
    "h": 322
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#EA7EFB
secondary
#D9F6D5
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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