#EB7FE4#EB7FE4

#EB7FE4 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.0% C 0.180 H 329.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#EB7FE4
RGBrgb(235, 127, 228)
HSLhsl(304, 73%, 71%)
HSVhsv(304, 46%, 92%)
CMYKcmyk(0%, 46%, 3%, 7.8%)
CIE-LABlab(68.35, 55.23, -33.42)
CIE-LCHlch(68.35, 64.56, 328.82°)
OKLaboklab(74.97% 0.1555 -0.0912)
OKLCHoklch(74.97% 0.18 329.6)
XYZxyz(55.8532, 38.4455, 77.8625)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7FE4 #7FEB86
analogous
#BC7FEB #EB7FE4 #EB7FAE
triadic
#EB7FE4 #E4EB7F #7FE4EB
tetradic
#EB7FE4 #EBBC7F #7FEB86 #7FAEEB
square
#EB7FE4 #EBBC7F #7FEB86 #7FAEEB
split-complementary
#EB7FE4 #AEEB7F #7FEBBC
monochromatic
#CF20C4 #E34AD9 #EB7FE4 #F3B4EF #FBE5F9

Accessibility & contrast

On white

2.42
#EB7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#EB7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7FE4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7FE4#FFFFFF#000000##000000
##EB7FE41.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE7
Deuteranopia (green-blind)
#97ACE1
Tritanopia (blue-blind)
#F288A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7fe4;
/* rgb */ color: rgb(235, 127, 228);
/* oklch */ color: oklch(75.0% 0.180 329.6);
Tailwind
colors: {
  custom: {
    50: '#f3a7ec',
    500: '#eb7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #eb7fe4;
$custom-light: #f3a7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7fe4",
  "rgb": {
    "r": 235,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 303.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74974,
    "c": 0.18023,
    "h": 329.6
  },
  "luminance": 0.38442
}

Semantic roles & 50–950 ramp

primary
#EB7FE4
secondary
#D5F1D6
accent
#D51D10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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