#EB7DFC#EB7DFC

#EB7DFC is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.8% C 0.205 H 322.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EB7DFC
RGBrgb(235, 125, 252)
HSLhsl(292, 95%, 74%)
HSVhsv(292, 50%, 99%)
CMYKcmyk(6.7%, 50.4%, 0%, 1.2%)
CIE-LABlab(69.01, 60.49, -45.58)
CIE-LCHlch(69.01, 75.74, 323.00°)
OKLaboklab(75.81% 0.1619 -0.126)
OKLCHoklch(75.81% 0.205 322.1)
XYZxyz(59.1634, 39.3603, 96.5575)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DFC #8EFC7D
analogous
#AC7DFC #EB7DFC #FC7DCD
triadic
#EB7DFC #FCEB7D #7DFCEB
tetradic
#EB7DFC #FCAC7D #8EFC7D #7DCDFC
square
#EB7DFC #FCAC7D #8EFC7D #7DCDFC
split-complementary
#EB7DFC #CDFC7D #7DFCAC
monochromatic
#D806F9 #E241FB #EB7DFC #F4B9FD #FAE1FE

Accessibility & contrast

On white

2.37
#EB7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#EB7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DFC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DFC#FFFFFF#000000##000000
##EB7DFC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#8BADF8
Tritanopia (blue-blind)
#EE8EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7dfc;
/* rgb */ color: rgb(235, 125, 252);
/* oklch */ color: oklch(75.8% 0.205 322.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6fe',
    500: '#eb7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #eb7dfc;
$custom-light: #f4a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7dfc",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 291.969,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75805,
    "c": 0.20518,
    "h": 322.1
  },
  "luminance": 0.39358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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