#EB7DF8#EB7DF8

#EB7DF8 is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.6% C 0.201 H 323.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#EB7DF8
RGBrgb(235, 125, 248)
HSLhsl(294, 90%, 73%)
HSVhsv(294, 50%, 97%)
CMYKcmyk(5.2%, 49.6%, 0%, 2.7%)
CIE-LABlab(68.83, 59.75, -43.67)
CIE-LCHlch(68.83, 74.01, 323.84°)
OKLaboklab(75.61% 0.1614 -0.1205)
OKLCHoklch(75.61% 0.201 323.3)
XYZxyz(58.5362, 39.1094, 93.2543)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DF8 #8AF87D
analogous
#AE7DF8 #EB7DF8 #F87DC7
triadic
#EB7DF8 #F8EB7D #7DF8EB
tetradic
#EB7DF8 #F8AE7D #8AF87D #7DC7F8
square
#EB7DF8 #F8AE7D #8AF87D #7DC7F8
split-complementary
#EB7DF8 #C7F87D #7DF8AE
monochromatic
#D60DEE #E243F5 #EB7DF8 #F4B7FB #FBE2FD

Accessibility & contrast

On white

2.38
#EB7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#EB7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DF8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DF8#FFFFFF#000000##000000
##EB7DF81.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#EF8DAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7df8;
/* rgb */ color: rgb(235, 125, 248);
/* oklch */ color: oklch(75.6% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#f4a6fb',
    500: '#eb7df8',
    950: '#000000',
  },
}
SCSS
$custom: #eb7df8;
$custom-light: #f4a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7df8",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 293.659,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75612,
    "c": 0.20145,
    "h": 323.3
  },
  "luminance": 0.39107
}

Semantic roles & 50–950 ramp

primary
#EB7DF8
secondary
#D9F6D5
accent
#E60018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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