#EB7EF5#EB7EF5

#EB7EF5 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.6% C 0.197 H 324.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EB7EF5
RGBrgb(235, 126, 245)
HSLhsl(295, 86%, 73%)
HSVhsv(295, 49%, 96%)
CMYKcmyk(4.1%, 48.6%, 0%, 3.9%)
CIE-LABlab(68.88, 58.72, -41.95)
CIE-LCHlch(68.88, 72.17, 324.46°)
OKLaboklab(75.61% 0.1597 -0.1156)
OKLCHoklch(75.61% 0.197 324.1)
XYZxyz(58.2017, 39.1792, 90.8651)
Luminance0.3918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EF5 #88F57E
analogous
#AF7EF5 #EB7EF5 #F57EC3
triadic
#EB7EF5 #F5EB7E #7EF5EB
tetradic
#EB7EF5 #F5AF7E #88F57E #7EC3F5
square
#EB7EF5 #F5AF7E #88F57E #7EC3F5
split-complementary
#EB7EF5 #C3F57E #7EF5AF
monochromatic
#D512E7 #E245F1 #EB7EF5 #F4B7F9 #FBE3FD

Accessibility & contrast

On white

2.38
#EB7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EB7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EF5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EF5#FFFFFF#000000##000000
##EB7EF51.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#EF8CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7ef5;
/* rgb */ color: rgb(235, 126, 245);
/* oklch */ color: oklch(75.6% 0.197 324.1);
Tailwind
colors: {
  custom: {
    50: '#f4a7f9',
    500: '#eb7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ef5;
$custom-light: #f4a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ef5",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 294.958,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75606,
    "c": 0.19711,
    "h": 324.1
  },
  "luminance": 0.39176
}

Semantic roles & 50–950 ramp

primary
#EB7EF5
secondary
#D9F5D6
accent
#E20316
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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