#EB7EF8#EB7EF8

#EB7EF8 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.7% C 0.200 H 323.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EB7EF8
RGBrgb(235, 126, 248)
HSLhsl(294, 90%, 73%)
HSVhsv(294, 49%, 97%)
CMYKcmyk(5.2%, 49.2%, 0%, 2.7%)
CIE-LABlab(69.01, 59.27, -43.39)
CIE-LCHlch(69.01, 73.45, 323.80°)
OKLaboklab(75.75% 0.1601 -0.1197)
OKLCHoklch(75.75% 0.2 323.2)
XYZxyz(58.6634, 39.3639, 93.2967)
Luminance0.3936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EF8 #8BF87E
analogous
#AE7EF8 #EB7EF8 #F87EC8
triadic
#EB7EF8 #F8EB7E #7EF8EB
tetradic
#EB7EF8 #F8AE7E #8BF87E #7EC8F8
square
#EB7EF8 #F8AE7E #8BF87E #7EC8F8
split-complementary
#EB7EF8 #C8F87E #7EF8AE
monochromatic
#D70DEF #E244F5 #EB7EF8 #F4B8FB #FBE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB7EF8#FFFFFF#000000##000000
##EB7EF81.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)
#6DA0FC
Deuteranopia (green-blind)
#8EADF4
Tritanopia (blue-blind)
#EF8DB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7ef8;
/* rgb */ color: rgb(235, 126, 248);
/* oklch */ color: oklch(75.7% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#f4a7fb',
    500: '#eb7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ef8;
$custom-light: #f4a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ef8",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 293.607,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.19989,
    "h": 323.2
  },
  "luminance": 0.39361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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