#EBA4FE#EBA4FE

#EBA4FE is a light, vivid purple. Relative luminance 0.514; OKLCH L 81.7% C 0.143 H 319.0°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#EBA4FE
RGBrgb(235, 164, 254)
HSLhsl(287, 98%, 82%)
HSVhsv(287, 35%, 100%)
CMYKcmyk(7.5%, 35.4%, 0%, 0.4%)
CIE-LABlab(76.90, 41.03, -34.37)
CIE-LCHlch(76.90, 53.52, 320.05°)
OKLaboklab(81.73% 0.1083 -0.0941)
OKLCHoklch(81.73% 0.144 319)
XYZxyz(65.4234, 51.3706, 100.2159)
Luminance0.5137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA4FE #B7FEA4
analogous
#BEA4FE #EBA4FE #FEA4E4
triadic
#EBA4FE #FEEBA4 #A4FEEB
tetradic
#EBA4FE #FEBEA4 #B7FEA4 #A4E4FE
square
#EBA4FE #FEBEA4 #B7FEA4 #A4E4FE
split-complementary
#EBA4FE #E4FEA4 #A4FEBE
monochromatic
#D02BFD #DE67FD #EBA4FE #F8E1FF #F8E1FF

Accessibility & contrast

On white

1.86
#EBA4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#EBA4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA4FE
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA4FE#FFFFFF#000000##000000
##EBA4FE1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A9C0FB
Tritanopia (blue-blind)
#ECAFC6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #eba4fe;
/* rgb */ color: rgb(235, 164, 254);
/* oklch */ color: oklch(81.7% 0.143 319.0);
Tailwind
colors: {
  custom: {
    50: '#f2c0ff',
    500: '#eba4fe',
    950: '#000000',
  },
}
SCSS
$custom: #eba4fe;
$custom-light: #f2c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eba4fe",
  "rgb": {
    "r": 235,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 287.333,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81732,
    "c": 0.1435,
    "h": 319
  },
  "luminance": 0.51369
}

Semantic roles & 50–950 ramp

primary
#EBA4FE
secondary
#7FE264
accent
#E60030
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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