#EBA7FB#EBA7FB

#EBA7FB is a very light, vivid purple. Relative luminance 0.523; OKLCH L 82.1% C 0.135 H 319.8°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#EBA7FB
RGBrgb(235, 167, 251)
HSLhsl(289, 91%, 82%)
HSVhsv(289, 33%, 98%)
CMYKcmyk(6.4%, 33.5%, 0%, 1.6%)
CIE-LABlab(77.44, 38.86, -31.92)
CIE-LCHlch(77.44, 50.29, 320.60°)
OKLaboklab(82.1% 0.1033 -0.0872)
OKLCHoklch(82.1% 0.135 319.8)
XYZxyz(65.4900, 52.2664, 97.8867)
Luminance0.5226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA7FB #B7FBA7
analogous
#C1A7FB #EBA7FB #FBA7E1
triadic
#EBA7FB #FBEBA7 #A7FBEB
tetradic
#EBA7FB #FBC1A7 #B7FBA7 #A7E1FB
square
#EBA7FB #FBC1A7 #B7FBA7 #A7E1FB
split-complementary
#EBA7FB #E1FBA7 #A7FBC1
monochromatic
#D032F6 #DE6CF8 #EBA7FB #F8E2FE #F8E2FE

Accessibility & contrast

On white

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

On black

11.45
#EBA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA7FB
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA7FB#FFFFFF#000000##000000
##EBA7FB1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFE
Deuteranopia (green-blind)
#ADC2F8
Tritanopia (blue-blind)
#ECB1C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #eba7fb;
/* rgb */ color: rgb(235, 167, 251);
/* oklch */ color: oklch(82.1% 0.135 319.8);
Tailwind
colors: {
  custom: {
    50: '#f2c2fd',
    500: '#eba7fb',
    950: '#000000',
  },
}
SCSS
$custom: #eba7fb;
$custom-light: #f2c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eba7fb",
  "rgb": {
    "r": 235,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 288.571,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.1352,
    "h": 319.8
  },
  "luminance": 0.52265
}

Semantic roles & 50–950 ramp

primary
#EBA7FB
secondary
#7FDE68
accent
#E6002C
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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