#EBA2FC#EBA2FC

#EBA2FC is a light, vivid purple. Relative luminance 0.505; OKLCH L 81.3% C 0.145 H 319.9°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#EBA2FC
RGBrgb(235, 162, 252)
HSLhsl(289, 94%, 81%)
HSVhsv(289, 36%, 99%)
CMYKcmyk(6.7%, 35.7%, 0%, 1.2%)
CIE-LABlab(76.40, 41.69, -34.07)
CIE-LCHlch(76.40, 53.85, 320.74°)
OKLaboklab(81.32% 0.1107 -0.0933)
OKLCHoklch(81.32% 0.145 319.9)
XYZxyz(64.7497, 50.5330, 98.4196)
Luminance0.5053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA2FC #B3FCA2
analogous
#BEA2FC #EBA2FC #FCA2E0
triadic
#EBA2FC #FCEBA2 #A2FCEB
tetradic
#EBA2FC #FCBEA2 #B3FCA2 #A2E0FC
square
#EBA2FC #FCBEA2 #B3FCA2 #A2E0FC
split-complementary
#EBA2FC #E0FCA2 #A2FCBE
monochromatic
#D22BF8 #DE67FA #EBA2FC #F8DDFE #F9E1FE

Accessibility & contrast

On white

1.89
#EBA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#EBA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA2FC
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA2FC#FFFFFF#000000##000000
##EBA2FC1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eba2fc;
/* rgb */ color: rgb(235, 162, 252);
/* oklch */ color: oklch(81.3% 0.145 319.9);
Tailwind
colors: {
  custom: {
    50: '#f2befd',
    500: '#eba2fc',
    950: '#000000',
  },
}
SCSS
$custom: #eba2fc;
$custom-light: #f2befd;
$custom-dark: #000000;
JSON
{
  "hex": "#eba2fc",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 288.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81323,
    "c": 0.14477,
    "h": 319.9
  },
  "luminance": 0.50531
}

Semantic roles & 50–950 ramp

primary
#EBA2FC
secondary
#7BDF63
accent
#E6002B
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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