#EA7EFE#EA7EFE

#EA7EFE is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 75.9% C 0.205 H 321.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#EA7EFE
RGBrgb(234, 126, 254)
HSLhsl(291, 98%, 75%)
HSVhsv(291, 50%, 100%)
CMYKcmyk(7.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(69.16, 60.11, -46.44)
CIE-LCHlch(69.16, 75.96, 322.31°)
OKLaboklab(75.92% 0.1597 -0.1285)
OKLCHoklch(75.92% 0.205 321.2)
XYZxyz(59.2799, 39.5724, 98.2624)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7EFE #92FE7E
analogous
#AA7EFE #EA7EFE #FE7ED2
triadic
#EA7EFE #FEEA7E #7EFEEA
tetradic
#EA7EFE #FEAA7E #92FE7E #7ED2FE
square
#EA7EFE #FEAA7E #92FE7E #7ED2FE
split-complementary
#EA7EFE #D2FE7E #7EFEAA
monochromatic
#D605FD #E041FE #EA7EFE #F4BBFE #FAE1FF

Accessibility & contrast

On white

2.36
#EA7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#EA7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7EFE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7EFE#FFFFFF#000000##000000
##EA7EFE1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#EC8FB3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea7efe;
/* rgb */ color: rgb(234, 126, 254);
/* oklch */ color: oklch(75.9% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#f3a7ff',
    500: '#ea7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ea7efe;
$custom-light: #f3a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7efe",
  "rgb": {
    "r": 234,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 290.625,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75921,
    "c": 0.20502,
    "h": 321.2
  },
  "luminance": 0.3957
}

Semantic roles & 50–950 ramp

primary
#EA7EFE
secondary
#D9F7D4
accent
#E60024
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EA7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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