#EBA2F9#EBA2F9

#EBA2F9 is a light, vivid purple. Relative luminance 0.503; OKLCH L 81.2% C 0.142 H 321.0°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#EBA2F9
RGBrgb(235, 162, 249)
HSLhsl(290, 88%, 81%)
HSVhsv(290, 35%, 98%)
CMYKcmyk(5.6%, 34.9%, 0%, 2.4%)
CIE-LABlab(76.28, 41.12, -32.63)
CIE-LCHlch(76.28, 52.49, 321.56°)
OKLaboklab(81.2% 0.11 -0.0892)
OKLCHoklch(81.2% 0.142 321)
XYZxyz(64.2781, 50.3443, 95.9356)
Luminance0.5034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA2F9 #B0F9A2
analogous
#BFA2F9 #EBA2F9 #F9A2DB
triadic
#EBA2F9 #F9EBA2 #A2F9EB
tetradic
#EBA2F9 #F9BFA2 #B0F9A2 #A2DBF9
square
#EBA2F9 #F9BFA2 #B0F9A2 #A2DBF9
split-complementary
#EBA2F9 #DBF9A2 #A2F9BF
monochromatic
#D22FF2 #DF69F5 #EBA2F9 #F7DBFD #F9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBA2F9#FFFFFF#000000##000000
##EBA2F91.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)
#98B7FC
Deuteranopia (green-blind)
#AABFF6
Tritanopia (blue-blind)
#EDACC2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #eba2f9;
/* rgb */ color: rgb(235, 162, 249);
/* oklch */ color: oklch(81.2% 0.142 321.0);
Tailwind
colors: {
  custom: {
    50: '#f2befb',
    500: '#eba2f9',
    950: '#000000',
  },
}
SCSS
$custom: #eba2f9;
$custom-light: #f2befb;
$custom-dark: #000000;
JSON
{
  "hex": "#eba2f9",
  "rgb": {
    "r": 235,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 290.345,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.81198,
    "c": 0.14164,
    "h": 321
  },
  "luminance": 0.50342
}

Semantic roles & 50–950 ramp

primary
#EBA2F9
secondary
#78DA65
accent
#E40126
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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