#EBA2FA#EBA2FA

#EBA2FA is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.2% C 0.143 H 320.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#EBA2FA
RGBrgb(235, 162, 250)
HSLhsl(290, 90%, 81%)
HSVhsv(290, 35%, 98%)
CMYKcmyk(6%, 35.2%, 0%, 2%)
CIE-LABlab(76.32, 41.31, -33.11)
CIE-LCHlch(76.32, 52.94, 321.29°)
OKLaboklab(81.24% 0.1103 -0.0906)
OKLCHoklch(81.24% 0.143 320.6)
XYZxyz(64.4344, 50.4069, 96.7592)
Luminance0.5040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA2FA #B1FAA2
analogous
#BFA2FA #EBA2FA #FAA2DD
triadic
#EBA2FA #FAEBA2 #A2FAEB
tetradic
#EBA2FA #FABFA2 #B1FAA2 #A2DDFA
square
#EBA2FA #FABFA2 #B1FAA2 #A2DDFA
split-complementary
#EBA2FA #DDFAA2 #A2FABF
monochromatic
#D22EF4 #DF68F7 #EBA2FA #F7DCFD #F9E2FD

Accessibility & contrast

On white

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

On black

11.08
#EBA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA2FA
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA2FA#FFFFFF#000000##000000
##EBA2FA1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FD
Deuteranopia (green-blind)
#A9BFF7
Tritanopia (blue-blind)
#EDACC3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #eba2fa;
/* rgb */ color: rgb(235, 162, 250);
/* oklch */ color: oklch(81.2% 0.143 320.6);
Tailwind
colors: {
  custom: {
    50: '#f2befc',
    500: '#eba2fa',
    950: '#000000',
  },
}
SCSS
$custom: #eba2fa;
$custom-light: #f2befc;
$custom-dark: #000000;
JSON
{
  "hex": "#eba2fa",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 289.773,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.14268,
    "h": 320.6
  },
  "luminance": 0.50405
}

Semantic roles & 50–950 ramp

primary
#EBA2FA
secondary
#79DC64
accent
#E60027
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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