#EBA2FE#EBA2FE

#EBA2FE is a light, vivid purple. Relative luminance 0.507; OKLCH L 81.4% C 0.147 H 319.2°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#EBA2FE
RGBrgb(235, 162, 254)
HSLhsl(288, 98%, 82%)
HSVhsv(288, 36%, 100%)
CMYKcmyk(7.5%, 36.2%, 0%, 0.4%)
CIE-LABlab(76.47, 42.08, -35.03)
CIE-LCHlch(76.47, 54.75, 320.22°)
OKLaboklab(81.41% 0.1112 -0.096)
OKLCHoklch(81.41% 0.147 319.2)
XYZxyz(65.0683, 50.6604, 100.0975)
Luminance0.5066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA2FE #B5FEA2
analogous
#BDA2FE #EBA2FE #FEA2E3
triadic
#EBA2FE #FEEBA2 #A2FEEB
tetradic
#EBA2FE #FEBDA2 #B5FEA2 #A2E3FE
square
#EBA2FE #FEBDA2 #B5FEA2 #A2E3FE
split-complementary
#EBA2FE #E3FEA2 #A2FEBD
monochromatic
#D129FD #DE65FD #EBA2FE #F8DFFF #F8E1FF

Accessibility & contrast

On white

1.89
#EBA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#EBA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA2FE
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA2FE#FFFFFF#000000##000000
##EBA2FE1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#A8BFFB
Tritanopia (blue-blind)
#ECADC4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #eba2fe;
/* rgb */ color: rgb(235, 162, 254);
/* oklch */ color: oklch(81.4% 0.147 319.2);
Tailwind
colors: {
  custom: {
    50: '#f2beff',
    500: '#eba2fe',
    950: '#000000',
  },
}
SCSS
$custom: #eba2fe;
$custom-light: #f2beff;
$custom-dark: #000000;
JSON
{
  "hex": "#eba2fe",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 287.609,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81407,
    "c": 0.1469,
    "h": 319.2
  },
  "luminance": 0.50659
}

Semantic roles & 50–950 ramp

primary
#EBA2FE
secondary
#7DE262
accent
#E6002F
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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