#EB7AFE#EB7AFE

#EB7AFE is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.5% C 0.212 H 321.7°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#EB7AFE
RGBrgb(235, 122, 254)
HSLhsl(291, 99%, 74%)
HSVhsv(291, 52%, 100%)
CMYKcmyk(7.5%, 52%, 0%, 0.4%)
CIE-LABlab(68.56, 62.29, -47.38)
CIE-LCHlch(68.56, 78.26, 322.74°)
OKLaboklab(75.5% 0.1661 -0.1312)
OKLCHoklch(75.5% 0.212 321.7)
XYZxyz(59.1079, 38.7396, 98.1107)
Luminance0.3874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AFE #8DFE7A
analogous
#A97AFE #EB7AFE #FE7ACF
triadic
#EB7AFE #FEEB7A #7AFEEB
tetradic
#EB7AFE #FEA97A #8DFE7A #7ACFFE
square
#EB7AFE #FEA97A #8DFE7A #7ACFFE
split-complementary
#EB7AFE #CFFE7A #7AFEA9
monochromatic
#D802FC #E23DFE #EB7AFE #F4B7FE #FAE1FF

Accessibility & contrast

On white

2.40
#EB7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#EB7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AFE
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AFE#FFFFFF#000000##000000
##EB7AFE1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#88ACFA
Tritanopia (blue-blind)
#EE8CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7afe;
/* rgb */ color: rgb(235, 122, 254);
/* oklch */ color: oklch(75.5% 0.212 321.7);
Tailwind
colors: {
  custom: {
    50: '#f4a5ff',
    500: '#eb7afe',
    950: '#000000',
  },
}
SCSS
$custom: #eb7afe;
$custom-light: #f4a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7afe",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 291.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75504,
    "c": 0.21164,
    "h": 321.7
  },
  "luminance": 0.38737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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