#EB7DF7#EB7DF7

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

Color values

HEX#EB7DF7
RGBrgb(235, 125, 247)
HSLhsl(294, 88%, 73%)
HSVhsv(294, 49%, 97%)
CMYKcmyk(4.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(68.79, 59.57, -43.20)
CIE-LCHlch(68.79, 73.58, 324.05°)
OKLaboklab(75.56% 0.1613 -0.1191)
OKLCHoklch(75.56% 0.201 323.5)
XYZxyz(58.3814, 39.0475, 92.4394)
Luminance0.3905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DF7 #89F77D
analogous
#AE7DF7 #EB7DF7 #F77DC6
triadic
#EB7DF7 #F7EB7D #7DF7EB
tetradic
#EB7DF7 #F7AE7D #89F77D #7DC6F7
square
#EB7DF7 #F7AE7D #89F77D #7DC6F7
split-complementary
#EB7DF7 #C6F77D #7DF7AE
monochromatic
#D50EEB #E243F3 #EB7DF7 #F4B7FB #FBE2FD

Accessibility & contrast

On white

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

On black

8.81
#EB7DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DF7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DF7#FFFFFF#000000##000000
##EB7DF71.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#8EACF3
Tritanopia (blue-blind)
#EF8CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7df7;
/* rgb */ color: rgb(235, 125, 247);
/* oklch */ color: oklch(75.6% 0.201 323.5);
Tailwind
colors: {
  custom: {
    50: '#f4a6fa',
    500: '#eb7df7',
    950: '#000000',
  },
}
SCSS
$custom: #eb7df7;
$custom-light: #f4a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7df7",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 294.098,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75564,
    "c": 0.20053,
    "h": 323.5
  },
  "luminance": 0.39045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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