#EBA5FC#EBA5FC

#EBA5FC is a light, vivid purple. Relative luminance 0.516; OKLCH L 81.8% C 0.140 H 319.6°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#EBA5FC
RGBrgb(235, 165, 252)
HSLhsl(288, 94%, 82%)
HSVhsv(288, 35%, 99%)
CMYKcmyk(6.7%, 34.5%, 0%, 1.2%)
CIE-LABlab(77.04, 40.11, -33.08)
CIE-LCHlch(77.04, 51.99, 320.49°)
OKLaboklab(81.81% 0.1064 -0.0905)
OKLCHoklch(81.81% 0.14 319.6)
XYZxyz(65.2845, 51.6025, 98.5979)
Luminance0.5160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA5FC #B6FCA5
analogous
#C0A5FC #EBA5FC #FCA5E2
triadic
#EBA5FC #FCEBA5 #A5FCEB
tetradic
#EBA5FC #FCC0A5 #B6FCA5 #A5E2FC
square
#EBA5FC #FCC0A5 #B6FCA5 #A5E2FC
split-complementary
#EBA5FC #E2FCA5 #A5FCC0
monochromatic
#D12FF8 #DE6AFA #EBA5FC #F8E0FE #F8E1FE

Accessibility & contrast

On white

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

On black

11.32
#EBA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA5FC
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA5FC#FFFFFF#000000##000000
##EBA5FC1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FF
Deuteranopia (green-blind)
#ABC1F9
Tritanopia (blue-blind)
#ECAFC5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #eba5fc;
/* rgb */ color: rgb(235, 165, 252);
/* oklch */ color: oklch(81.8% 0.140 319.6);
Tailwind
colors: {
  custom: {
    50: '#f2c0fd',
    500: '#eba5fc',
    950: '#000000',
  },
}
SCSS
$custom: #eba5fc;
$custom-light: #f2c0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eba5fc",
  "rgb": {
    "r": 235,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 288.276,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.13968,
    "h": 319.6
  },
  "luminance": 0.51601
}

Semantic roles & 50–950 ramp

primary
#EBA5FC
secondary
#7EDF66
accent
#E6002D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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