#EB9AFE#EB9AFE

#EB9AFE is a light, vivid purple. Relative luminance 0.479; OKLCH L 80.1% C 0.160 H 319.8°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#EB9AFE
RGBrgb(235, 154, 254)
HSLhsl(289, 98%, 80%)
HSVhsv(289, 39%, 100%)
CMYKcmyk(7.5%, 39.4%, 0%, 0.4%)
CIE-LABlab(74.78, 46.27, -37.65)
CIE-LCHlch(74.78, 59.65, 320.86°)
OKLaboklab(80.13% 0.1225 -0.1034)
OKLCHoklch(80.13% 0.16 319.8)
XYZxyz(63.7037, 47.9312, 99.6426)
Luminance0.4793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB9AFE #ADFE9A
analogous
#B99AFE #EB9AFE #FE9ADF
triadic
#EB9AFE #FEEB9A #9AFEEB
tetradic
#EB9AFE #FEB99A #ADFE9A #9ADFFE
square
#EB9AFE #FEB99A #ADFE9A #9ADFFE
split-complementary
#EB9AFE #DFFE9A #9AFEB9
monochromatic
#D321FD #DF5DFD #EB9AFE #F7D7FF #F9E1FF

Accessibility & contrast

On white

1.98
#EB9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#EB9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB9AFE
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB9AFE#FFFFFF#000000##000000
##EB9AFE1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#A1BBFB
Tritanopia (blue-blind)
#ECA6C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #eb9afe;
/* rgb */ color: rgb(235, 154, 254);
/* oklch */ color: oklch(80.1% 0.160 319.8);
Tailwind
colors: {
  custom: {
    50: '#f3b9ff',
    500: '#eb9afe',
    950: '#000000',
  },
}
SCSS
$custom: #eb9afe;
$custom-light: #f3b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb9afe",
  "rgb": {
    "r": 235,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 288.6,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.80132,
    "c": 0.16035,
    "h": 319.8
  },
  "luminance": 0.47929
}

Semantic roles & 50–950 ramp

primary
#EB9AFE
secondary
#DBF7D4
accent
#E6002C
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EB9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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