#EB7AFD#EB7AFD

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

Color values

HEX#EB7AFD
RGBrgb(235, 122, 253)
HSLhsl(292, 97%, 74%)
HSVhsv(292, 52%, 99%)
CMYKcmyk(7.1%, 51.8%, 0%, 0.8%)
CIE-LABlab(68.52, 62.10, -46.90)
CIE-LCHlch(68.52, 77.83, 322.94°)
OKLaboklab(75.45% 0.166 -0.1298)
OKLCHoklch(75.45% 0.211 322)
XYZxyz(58.9482, 38.6758, 97.2696)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AFD #8CFD7A
analogous
#A97AFD #EB7AFD #FD7ACD
triadic
#EB7AFD #FDEB7A #7AFDEB
tetradic
#EB7AFD #FDA97A #8CFD7A #7ACDFD
square
#EB7AFD #FDA97A #8CFD7A #7ACDFD
split-complementary
#EB7AFD #CDFD7A #7AFDA9
monochromatic
#D704F9 #E23EFC #EB7AFD #F4B6FE #FAE1FF

Accessibility & contrast

On white

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

On black

8.73
#EB7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AFD
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AFD#FFFFFF#000000##000000
##EB7AFD1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#89ACF9
Tritanopia (blue-blind)
#EE8CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7afd;
/* rgb */ color: rgb(235, 122, 253);
/* oklch */ color: oklch(75.5% 0.211 322.0);
Tailwind
colors: {
  custom: {
    50: '#f4a5fe',
    500: '#eb7afd',
    950: '#000000',
  },
}
SCSS
$custom: #eb7afd;
$custom-light: #f4a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7afd",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 291.756,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75454,
    "c": 0.21071,
    "h": 322
  },
  "luminance": 0.38673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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