#EB7DFD#EB7DFD

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

Color values

HEX#EB7DFD
RGBrgb(235, 125, 253)
HSLhsl(292, 97%, 74%)
HSVhsv(292, 51%, 99%)
CMYKcmyk(7.1%, 50.6%, 0%, 0.8%)
CIE-LABlab(69.06, 60.67, -46.05)
CIE-LCHlch(69.06, 76.17, 322.80°)
OKLaboklab(75.85% 0.1621 -0.1274)
OKLCHoklch(75.85% 0.206 321.8)
XYZxyz(59.3222, 39.4239, 97.3942)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DFD #8FFD7D
analogous
#AB7DFD #EB7DFD #FD7DCF
triadic
#EB7DFD #FDEB7D #7DFDEB
tetradic
#EB7DFD #FDAB7D #8FFD7D #7DCFFD
square
#EB7DFD #FDAB7D #8FFD7D #7DCFFD
split-complementary
#EB7DFD #CFFD7D #7DFDAB
monochromatic
#D804FB #E241FC #EB7DFD #F4B9FE #FAE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB7DFD#FFFFFF#000000##000000
##EB7DFD1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#EE8EB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb7dfd;
/* rgb */ color: rgb(235, 125, 253);
/* oklch */ color: oklch(75.9% 0.206 321.8);
Tailwind
colors: {
  custom: {
    50: '#f4a6fe',
    500: '#eb7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #eb7dfd;
$custom-light: #f4a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7dfd",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 291.563,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75853,
    "c": 0.20612,
    "h": 321.8
  },
  "luminance": 0.39421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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