#EBA2FD#EBA2FD

#EBA2FD is a light, vivid purple. Relative luminance 0.506; OKLCH L 81.4% C 0.146 H 319.5°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#EBA2FD
RGBrgb(235, 162, 253)
HSLhsl(288, 96%, 81%)
HSVhsv(288, 36%, 99%)
CMYKcmyk(7.1%, 36%, 0%, 0.8%)
CIE-LABlab(76.43, 41.89, -34.55)
CIE-LCHlch(76.43, 54.30, 320.48°)
OKLaboklab(81.36% 0.1109 -0.0947)
OKLCHoklch(81.36% 0.146 319.5)
XYZxyz(64.9086, 50.5966, 99.2564)
Luminance0.5060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA2FD #B4FDA2
analogous
#BEA2FD #EBA2FD #FDA2E2
triadic
#EBA2FD #FDEBA2 #A2FDEB
tetradic
#EBA2FD #FDBEA2 #B4FDA2 #A2E2FD
square
#EBA2FD #FDBEA2 #B4FDA2 #A2E2FD
split-complementary
#EBA2FD #E2FDA2 #A2FDBE
monochromatic
#D12AFA #DE66FC #EBA2FD #F8DEFE #F9E1FE

Accessibility & contrast

On white

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

On black

11.12
#EBA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA2FD
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA2FD#FFFFFF#000000##000000
##EBA2FD1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eba2fd;
/* rgb */ color: rgb(235, 162, 253);
/* oklch */ color: oklch(81.4% 0.146 319.5);
Tailwind
colors: {
  custom: {
    50: '#f2befe',
    500: '#eba2fd',
    950: '#000000',
  },
}
SCSS
$custom: #eba2fd;
$custom-light: #f2befe;
$custom-dark: #000000;
JSON
{
  "hex": "#eba2fd",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 288.132,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.81365,
    "c": 0.14584,
    "h": 319.5
  },
  "luminance": 0.50595
}

Semantic roles & 50–950 ramp

primary
#EBA2FD
secondary
#7CE063
accent
#E6002D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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