#EBA7FE#EBA7FE

#EBA7FE is a very light, vivid purple. Relative luminance 0.525; OKLCH L 82.2% C 0.138 H 318.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#EBA7FE
RGBrgb(235, 167, 254)
HSLhsl(287, 98%, 83%)
HSVhsv(287, 34%, 100%)
CMYKcmyk(7.5%, 34.3%, 0%, 0.4%)
CIE-LABlab(77.55, 39.44, -33.36)
CIE-LCHlch(77.55, 51.66, 319.77°)
OKLaboklab(82.22% 0.104 -0.0913)
OKLCHoklch(82.22% 0.138 318.7)
XYZxyz(65.9666, 52.4571, 100.3970)
Luminance0.5245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA7FE #BAFEA7
analogous
#C0A7FE #EBA7FE #FEA7E5
triadic
#EBA7FE #FEEBA7 #A7FEEB
tetradic
#EBA7FE #FEC0A7 #BAFEA7 #A7E5FE
square
#EBA7FE #FEC0A7 #BAFEA7 #A7E5FE
split-complementary
#EBA7FE #E5FEA7 #A7FEC0
monochromatic
#CF2EFD #DD6AFD #EBA7FE #F8E1FF #F8E1FF

Accessibility & contrast

On white

1.83
#EBA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#EBA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA7FE
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA7FE#FFFFFF#000000##000000
##EBA7FE1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#ACC2FB
Tritanopia (blue-blind)
#ECB1C7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #eba7fe;
/* rgb */ color: rgb(235, 167, 254);
/* oklch */ color: oklch(82.2% 0.138 318.7);
Tailwind
colors: {
  custom: {
    50: '#f2c2ff',
    500: '#eba7fe',
    950: '#000000',
  },
}
SCSS
$custom: #eba7fe;
$custom-light: #f2c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eba7fe",
  "rgb": {
    "r": 235,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 286.897,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.82224,
    "c": 0.1384,
    "h": 318.7
  },
  "luminance": 0.52455
}

Semantic roles & 50–950 ramp

primary
#EBA7FE
secondary
#82E267
accent
#E60032
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286

Preview Lab

Preview with #EBA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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