#EB7AFC#EB7AFC

#EB7AFC is a light, highly saturated purple. Relative luminance 0.386; OKLCH L 75.4% C 0.210 H 322.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EB7AFC
RGBrgb(235, 122, 252)
HSLhsl(292, 96%, 73%)
HSVhsv(292, 52%, 99%)
CMYKcmyk(6.7%, 51.6%, 0%, 1.2%)
CIE-LABlab(68.47, 61.92, -46.43)
CIE-LCHlch(68.47, 77.39, 323.14°)
OKLaboklab(75.41% 0.1659 -0.1284)
OKLCHoklch(75.41% 0.21 322.2)
XYZxyz(58.7893, 38.6122, 96.4328)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AFC #8BFC7A
analogous
#AA7AFC #EB7AFC #FC7ACC
triadic
#EB7AFC #FCEB7A #7AFCEB
tetradic
#EB7AFC #FCAA7A #8BFC7A #7ACCFC
square
#EB7AFC #FCAA7A #8BFC7A #7ACCFC
split-complementary
#EB7AFC #CCFC7A #7AFCAA
monochromatic
#D706F6 #E23EFB #EB7AFC #F4B6FD #FBE1FE

Accessibility & contrast

On white

2.41
#EB7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EB7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AFC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AFC#FFFFFF#000000##000000
##EB7AFC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#EE8BB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7afc;
/* rgb */ color: rgb(235, 122, 252);
/* oklch */ color: oklch(75.4% 0.210 322.2);
Tailwind
colors: {
  custom: {
    50: '#f4a5fe',
    500: '#eb7afc',
    950: '#000000',
  },
}
SCSS
$custom: #eb7afc;
$custom-light: #f4a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7afc",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 292.154,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75405,
    "c": 0.20978,
    "h": 322.2
  },
  "luminance": 0.3861
}

Semantic roles & 50–950 ramp

primary
#EB7AFC
secondary
#D9F7D4
accent
#E6001E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EB7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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