#EB7AFB#EB7AFB

#EB7AFB is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.4% C 0.209 H 322.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#EB7AFB
RGBrgb(235, 122, 251)
HSLhsl(293, 94%, 73%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(6.4%, 51.4%, 0%, 1.6%)
CIE-LABlab(68.42, 61.74, -45.95)
CIE-LCHlch(68.42, 76.96, 323.34°)
OKLaboklab(75.36% 0.1658 -0.1271)
OKLCHoklch(75.36% 0.209 322.5)
XYZxyz(58.6313, 38.5490, 95.6004)
Luminance0.3855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AFB #8AFB7A
analogous
#AA7AFB #EB7AFB #FB7ACA
triadic
#EB7AFB #FBEB7A #7AFBEB
tetradic
#EB7AFB #FBAA7A #8AFB7A #7ACAFB
square
#EB7AFB #FBAA7A #8AFB7A #7ACAFB
split-complementary
#EB7AFB #CAFB7A #7AFBAA
monochromatic
#D607F3 #E23FF9 #EB7AFB #F4B5FD #FBE1FE

Accessibility & contrast

On white

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

On black

8.71
#EB7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AFB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AFB#FFFFFF#000000##000000
##EB7AFB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#EE8BB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7afb;
/* rgb */ color: rgb(235, 122, 251);
/* oklch */ color: oklch(75.4% 0.209 322.5);
Tailwind
colors: {
  custom: {
    50: '#f4a5fd',
    500: '#eb7afb',
    950: '#000000',
  },
}
SCSS
$custom: #eb7afb;
$custom-light: #f4a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7afb",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 292.558,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75356,
    "c": 0.20885,
    "h": 322.5
  },
  "luminance": 0.38546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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