#EB7EFB#EB7EFB

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

Color values

HEX#EB7EFB
RGBrgb(235, 126, 251)
HSLhsl(292, 94%, 74%)
HSVhsv(292, 50%, 98%)
CMYKcmyk(6.4%, 49.8%, 0%, 1.6%)
CIE-LABlab(69.15, 59.82, -44.82)
CIE-LCHlch(69.15, 74.74, 323.16°)
OKLaboklab(75.89% 0.1605 -0.1238)
OKLCHoklch(75.89% 0.203 322.4)
XYZxyz(59.1325, 39.5516, 95.7675)
Luminance0.3955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EFB #8EFB7E
analogous
#AD7EFB #EB7EFB #FB7ECD
triadic
#EB7EFB #FBEB7E #7EFBEB
tetradic
#EB7EFB #FBAD7E #8EFB7E #7ECDFB
square
#EB7EFB #FBAD7E #8EFB7E #7ECDFB
split-complementary
#EB7EFB #CDFB7E #7EFBAD
monochromatic
#D808F7 #E243F9 #EB7EFB #F4B9FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.91
#EB7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EFB
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EFB#FFFFFF#000000##000000
##EB7EFB1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#EE8EB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb7efb;
/* rgb */ color: rgb(235, 126, 251);
/* oklch */ color: oklch(75.9% 0.203 322.4);
Tailwind
colors: {
  custom: {
    50: '#f4a7fd',
    500: '#eb7efb',
    950: '#000000',
  },
}
SCSS
$custom: #eb7efb;
$custom-light: #f4a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7efb",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 292.32,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75891,
    "c": 0.2027,
    "h": 322.4
  },
  "luminance": 0.39549
}

Semantic roles & 50–950 ramp

primary
#EB7EFB
secondary
#D9F6D5
accent
#E6001D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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