#EBA2FF#EBA2FF

#EBA2FF is a light, vivid purple. Relative luminance 0.507; OKLCH L 81.4% C 0.148 H 318.8°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#EBA2FF
RGBrgb(235, 162, 255)
HSLhsl(287, 100%, 82%)
HSVhsv(287, 36%, 100%)
CMYKcmyk(7.8%, 36.5%, 0%, 0%)
CIE-LABlab(76.51, 42.27, -35.51)
CIE-LCHlch(76.51, 55.21, 319.97°)
OKLaboklab(81.45% 0.1114 -0.0974)
OKLCHoklch(81.45% 0.148 318.8)
XYZxyz(65.2289, 50.7247, 100.9431)
Luminance0.5072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA2FF #B6FFA2
analogous
#BDA2FF #EBA2FF #FFA2E5
triadic
#EBA2FF #FFEBA2 #A2FFEB
tetradic
#EBA2FF #FFBDA2 #B6FFA2 #A2E5FF
square
#EBA2FF #FFBDA2 #B6FFA2 #A2E5FF
split-complementary
#EBA2FF #E5FFA2 #A2FFBD
monochromatic
#D128FF #DE65FF #EBA2FF #F8DFFF #F8E0FF

Accessibility & contrast

On white

1.88
#EBA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#EBA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA2FF
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA2FF#FFFFFF#000000##000000
##EBA2FF1.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#ECADC5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #eba2ff;
/* rgb */ color: rgb(235, 162, 255);
/* oklch */ color: oklch(81.4% 0.148 318.8);
Tailwind
colors: {
  custom: {
    50: '#f2beff',
    500: '#eba2ff',
    950: '#000000',
  },
}
SCSS
$custom: #eba2ff;
$custom-light: #f2beff;
$custom-dark: #000000;
JSON
{
  "hex": "#eba2ff",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 287.097,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.14795,
    "h": 318.8
  },
  "luminance": 0.50723
}

Semantic roles & 50–950 ramp

primary
#EBA2FF
secondary
#7EE362
accent
#E60031
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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