#EBA5FA#EBA5FA

#EBA5FA is a light, vivid purple. Relative luminance 0.515; OKLCH L 81.7% C 0.138 H 320.4°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#EBA5FA
RGBrgb(235, 165, 250)
HSLhsl(289, 89%, 81%)
HSVhsv(289, 34%, 98%)
CMYKcmyk(6%, 34%, 0%, 2%)
CIE-LABlab(76.97, 39.73, -32.11)
CIE-LCHlch(76.97, 51.08, 321.05°)
OKLaboklab(81.73% 0.1059 -0.0877)
OKLCHoklch(81.73% 0.138 320.4)
XYZxyz(64.9692, 51.4764, 96.9375)
Luminance0.5148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA5FA #B4FAA5
analogous
#C1A5FA #EBA5FA #FAA5DF
triadic
#EBA5FA #FAEBA5 #A5FAEB
tetradic
#EBA5FA #FAC1A5 #B4FAA5 #A5DFFA
square
#EBA5FA #FAC1A5 #B4FAA5 #A5DFFA
split-complementary
#EBA5FA #DFFAA5 #A5FAC1
monochromatic
#D131F4 #DE6BF7 #EBA5FA #F8DFFD #F9E2FD

Accessibility & contrast

On white

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

On black

11.30
#EBA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA5FA
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA5FA#FFFFFF#000000##000000
##EBA5FA1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#ACC1F7
Tritanopia (blue-blind)
#EDAFC4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #eba5fa;
/* rgb */ color: rgb(235, 165, 250);
/* oklch */ color: oklch(81.7% 0.138 320.4);
Tailwind
colors: {
  custom: {
    50: '#f2c0fc',
    500: '#eba5fa',
    950: '#000000',
  },
}
SCSS
$custom: #eba5fa;
$custom-light: #f2c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#eba5fa",
  "rgb": {
    "r": 235,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 289.412,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.8173,
    "c": 0.13756,
    "h": 320.4
  },
  "luminance": 0.51475
}

Semantic roles & 50–950 ramp

primary
#EBA5FA
secondary
#7CDC67
accent
#E60028
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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