#EB7DF5#EB7DF5

#EB7DF5 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.5% C 0.199 H 324.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#EB7DF5
RGBrgb(235, 125, 245)
HSLhsl(295, 86%, 73%)
HSVhsv(295, 49%, 96%)
CMYKcmyk(4.1%, 49%, 0%, 3.9%)
CIE-LABlab(68.70, 59.21, -42.24)
CIE-LCHlch(68.70, 72.73, 324.50°)
OKLaboklab(75.47% 0.161 -0.1164)
OKLCHoklch(75.47% 0.199 324.1)
XYZxyz(58.0745, 38.9248, 90.8227)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DF5 #87F57D
analogous
#AF7DF5 #EB7DF5 #F57DC3
triadic
#EB7DF5 #F5EB7D #7DF5EB
tetradic
#EB7DF5 #F5AF7D #87F57D #7DC3F5
square
#EB7DF5 #F5AF7D #87F57D #7DC3F5
split-complementary
#EB7DF5 #C3F57D #7DF5AF
monochromatic
#D412E6 #E244F1 #EB7DF5 #F4B6F9 #FBE3FD

Accessibility & contrast

On white

2.39
#EB7DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#EB7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DF5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DF5#FFFFFF#000000##000000
##EB7DF51.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#8FACF1
Tritanopia (blue-blind)
#EF8CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7df5;
/* rgb */ color: rgb(235, 125, 245);
/* oklch */ color: oklch(75.5% 0.199 324.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6f9',
    500: '#eb7df5',
    950: '#000000',
  },
}
SCSS
$custom: #eb7df5;
$custom-light: #f4a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7df5",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 295,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.19867,
    "h": 324.1
  },
  "luminance": 0.38922
}

Semantic roles & 50–950 ramp

primary
#EB7DF5
secondary
#D9F5D6
accent
#E20316
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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