#EB7EFE#EB7EFE

#EB7EFE is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.206 H 321.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#EB7EFE
RGBrgb(235, 126, 254)
HSLhsl(291, 98%, 75%)
HSVhsv(291, 50%, 100%)
CMYKcmyk(7.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(69.29, 60.37, -46.24)
CIE-LCHlch(69.29, 76.05, 322.55°)
OKLaboklab(76.04% 0.1609 -0.1279)
OKLCHoklch(76.04% 0.206 321.5)
XYZxyz(59.6092, 39.7422, 98.2778)
Luminance0.3974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EFE #91FE7E
analogous
#AB7EFE #EB7EFE #FE7ED1
triadic
#EB7EFE #FEEB7E #7EFEEB
tetradic
#EB7EFE #FEAB7E #91FE7E #7ED1FE
square
#EB7EFE #FEAB7E #91FE7E #7ED1FE
split-complementary
#EB7EFE #D1FE7E #7EFEAB
monochromatic
#D805FD #E241FE #EB7EFE #F4BBFE #FAE1FF

Accessibility & contrast

On white

2.35
#EB7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#EB7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EFE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EFE#FFFFFF#000000##000000
##EB7EFE1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#ED8FB3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb7efe;
/* rgb */ color: rgb(235, 126, 254);
/* oklch */ color: oklch(76.0% 0.206 321.5);
Tailwind
colors: {
  custom: {
    50: '#f4a7ff',
    500: '#eb7efe',
    950: '#000000',
  },
}
SCSS
$custom: #eb7efe;
$custom-light: #f4a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7efe",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 291.094,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76037,
    "c": 0.20553,
    "h": 321.5
  },
  "luminance": 0.3974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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