#EBA1FF#EBA1FF

#EBA1FF is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.3% C 0.150 H 318.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#EBA1FF
RGBrgb(235, 161, 255)
HSLhsl(287, 100%, 82%)
HSVhsv(287, 37%, 100%)
CMYKcmyk(7.8%, 36.9%, 0%, 0%)
CIE-LABlab(76.30, 42.80, -35.84)
CIE-LCHlch(76.30, 55.83, 320.06°)
OKLaboklab(81.29% 0.1128 -0.0983)
OKLCHoklch(81.29% 0.15 318.9)
XYZxyz(65.0534, 50.3738, 100.8846)
Luminance0.5037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA1FF #B5FFA1
analogous
#BCA1FF #EBA1FF #FFA1E4
triadic
#EBA1FF #FFEBA1 #A1FFEB
tetradic
#EBA1FF #FFBCA1 #B5FFA1 #A1E4FF
square
#EBA1FF #FFBCA1 #B5FFA1 #A1E4FF
split-complementary
#EBA1FF #E4FFA1 #A1FFBC
monochromatic
#D127FF #DE64FF #EBA1FF #F8DEFF #F8E0FF

Accessibility & contrast

On white

1.90
#EBA1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#EBA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA1FF
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA1FF#FFFFFF#000000##000000
##EBA1FF1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#ECACC4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #eba1ff;
/* rgb */ color: rgb(235, 161, 255);
/* oklch */ color: oklch(81.3% 0.150 318.9);
Tailwind
colors: {
  custom: {
    50: '#f2beff',
    500: '#eba1ff',
    950: '#000000',
  },
}
SCSS
$custom: #eba1ff;
$custom-light: #f2beff;
$custom-dark: #000000;
JSON
{
  "hex": "#eba1ff",
  "rgb": {
    "r": 235,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 287.234,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.81288,
    "c": 0.14964,
    "h": 318.9
  },
  "luminance": 0.50372
}

Semantic roles & 50–950 ramp

primary
#EBA1FF
secondary
#7DE361
accent
#E60031
background
#FFFDFF
surface
#FEF8FF
border
#D6D1D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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