#EB7DFE#EB7DFE

#EB7DFE is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 75.9% C 0.207 H 321.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#EB7DFE
RGBrgb(235, 125, 254)
HSLhsl(291, 98%, 74%)
HSVhsv(291, 51%, 100%)
CMYKcmyk(7.5%, 50.8%, 0%, 0.4%)
CIE-LABlab(69.10, 60.86, -46.53)
CIE-LCHlch(69.10, 76.60, 322.60°)
OKLaboklab(75.9% 0.1622 -0.1287)
OKLCHoklch(75.9% 0.207 321.6)
XYZxyz(59.4820, 39.4878, 98.2354)
Luminance0.3948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DFE #90FE7D
analogous
#AB7DFE #EB7DFE #FE7DD0
triadic
#EB7DFE #FEEB7D #7DFEEB
tetradic
#EB7DFE #FEAB7D #90FE7D #7DD0FE
square
#EB7DFE #FEAB7D #90FE7D #7DD0FE
split-complementary
#EB7DFE #D0FE7D #7DFEAB
monochromatic
#D804FD #E240FE #EB7DFE #F4BAFE #FAE1FF

Accessibility & contrast

On white

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

On black

8.90
#EB7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DFE
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DFE#FFFFFF#000000##000000
##EB7DFE1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#ED8EB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb7dfe;
/* rgb */ color: rgb(235, 125, 254);
/* oklch */ color: oklch(75.9% 0.207 321.6);
Tailwind
colors: {
  custom: {
    50: '#f4a6ff',
    500: '#eb7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #eb7dfe;
$custom-light: #f4a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7dfe",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 291.163,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75902,
    "c": 0.20707,
    "h": 321.6
  },
  "luminance": 0.39485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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