#EB7EFD#EB7EFD

#EB7EFD is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.205 H 321.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#EB7EFD
RGBrgb(235, 126, 253)
HSLhsl(291, 97%, 74%)
HSVhsv(291, 50%, 99%)
CMYKcmyk(7.1%, 50.2%, 0%, 0.8%)
CIE-LABlab(69.24, 60.19, -45.77)
CIE-LCHlch(69.24, 75.61, 322.75°)
OKLaboklab(75.99% 0.1608 -0.1265)
OKLCHoklch(75.99% 0.205 321.8)
XYZxyz(59.4495, 39.6783, 97.4367)
Luminance0.3968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EFD #90FD7E
analogous
#AC7EFD #EB7EFD #FD7ED0
triadic
#EB7EFD #FDEB7E #7EFDEB
tetradic
#EB7EFD #FDAC7E #90FD7E #7ED0FD
square
#EB7EFD #FDAC7E #90FD7E #7ED0FD
split-complementary
#EB7EFD #D0FD7E #7EFDAC
monochromatic
#D805FB #E242FC #EB7EFD #F4BAFE #FAE1FF

Accessibility & contrast

On white

2.35
#EB7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#EB7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EFD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EFD#FFFFFF#000000##000000
##EB7EFD1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#EE8FB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb7efd;
/* rgb */ color: rgb(235, 126, 253);
/* oklch */ color: oklch(76.0% 0.205 321.8);
Tailwind
colors: {
  custom: {
    50: '#f4a7fe',
    500: '#eb7efd',
    950: '#000000',
  },
}
SCSS
$custom: #eb7efd;
$custom-light: #f4a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7efd",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 291.496,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.20459,
    "h": 321.8
  },
  "luminance": 0.39676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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