#EB7FE8#EB7FE8

#EB7FE8 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.1% C 0.184 H 328.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#EB7FE8
RGBrgb(235, 127, 232)
HSLhsl(302, 73%, 71%)
HSVhsv(302, 46%, 92%)
CMYKcmyk(0%, 46%, 1.3%, 7.8%)
CIE-LABlab(68.51, 55.92, -35.38)
CIE-LCHlch(68.51, 66.17, 327.68°)
OKLaboklab(75.15% 0.1562 -0.0967)
OKLCHoklch(75.15% 0.184 328.2)
XYZxyz(56.4149, 38.6701, 80.8208)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7FE8 #7FEB82
analogous
#B87FEB #EB7FE8 #EB7FB2
triadic
#EB7FE8 #E8EB7F #7FE8EB
tetradic
#EB7FE8 #EBB87F #7FEB82 #7FB2EB
square
#EB7FE8 #EBB87F #7FEB82 #7FB2EB
split-complementary
#EB7FE8 #B2EB7F #7FEBB8
monochromatic
#CF20CA #E34ADE #EB7FE8 #F3B4F2 #FBE5FA

Accessibility & contrast

On white

2.40
#EB7FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#EB7FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7FE8
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7FE8#FFFFFF#000000##000000
##EB7FE81.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEC
Deuteranopia (green-blind)
#96ACE5
Tritanopia (blue-blind)
#F189A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7fe8;
/* rgb */ color: rgb(235, 127, 232);
/* oklch */ color: oklch(75.1% 0.184 328.2);
Tailwind
colors: {
  custom: {
    50: '#f3a7ef',
    500: '#eb7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #eb7fe8;
$custom-light: #f3a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7fe8",
  "rgb": {
    "r": 235,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 301.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7515,
    "c": 0.18375,
    "h": 328.2
  },
  "luminance": 0.38667
}

Semantic roles & 50–950 ramp

primary
#EB7FE8
secondary
#D5F1D5
accent
#D51610
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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