#EBA5FF#EBA5FF

#EBA5FF is a light, vivid purple. Relative luminance 0.518; OKLCH L 81.9% C 0.143 H 318.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#EBA5FF
RGBrgb(235, 165, 255)
HSLhsl(287, 100%, 82%)
HSVhsv(287, 35%, 100%)
CMYKcmyk(7.8%, 35.3%, 0%, 0%)
CIE-LABlab(77.16, 40.69, -34.51)
CIE-LCHlch(77.16, 53.36, 319.70°)
OKLaboklab(81.94% 0.1071 -0.0946)
OKLCHoklch(81.94% 0.143 318.6)
XYZxyz(65.7636, 51.7942, 101.1214)
Luminance0.5179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA5FF #B9FFA5
analogous
#BEA5FF #EBA5FF #FFA5E6
triadic
#EBA5FF #FFEBA5 #A5FFEB
tetradic
#EBA5FF #FFBEA5 #B9FFA5 #A5E6FF
square
#EBA5FF #FFBEA5 #B9FFA5 #A5E6FF
split-complementary
#EBA5FF #E6FFA5 #A5FFBE
monochromatic
#D02BFF #DD68FF #EBA5FF #F8E0FF #F8E0FF

Accessibility & contrast

On white

1.85
#EBA5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#EBA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA5FF
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA5FF#FFFFFF#000000##000000
##EBA5FF1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99BAFF
Deuteranopia (green-blind)
#AAC1FC
Tritanopia (blue-blind)
#ECB0C7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #eba5ff;
/* rgb */ color: rgb(235, 165, 255);
/* oklch */ color: oklch(81.9% 0.143 318.6);
Tailwind
colors: {
  custom: {
    50: '#f2c0ff',
    500: '#eba5ff',
    950: '#000000',
  },
}
SCSS
$custom: #eba5ff;
$custom-light: #f2c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eba5ff",
  "rgb": {
    "r": 235,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 286.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81937,
    "c": 0.14288,
    "h": 318.6
  },
  "luminance": 0.51792
}

Semantic roles & 50–950 ramp

primary
#EBA5FF
secondary
#81E464
accent
#E60033
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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