#EBA6FC#EBA6FC

#EBA6FC is a light, vivid purple. Relative luminance 0.520; OKLCH L 82.0% C 0.138 H 319.5°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#EBA6FC
RGBrgb(235, 166, 252)
HSLhsl(288, 93%, 82%)
HSVhsv(288, 34%, 99%)
CMYKcmyk(6.7%, 34.1%, 0%, 1.2%)
CIE-LABlab(77.26, 39.58, -32.74)
CIE-LCHlch(77.26, 51.37, 320.41°)
OKLaboklab(81.98% 0.105 -0.0895)
OKLCHoklch(81.98% 0.138 319.5)
XYZxyz(65.4655, 51.9647, 98.6582)
Luminance0.5196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBA6FC #B7FCA6
analogous
#C0A6FC #EBA6FC #FCA6E2
triadic
#EBA6FC #FCEBA6 #A6FCEB
tetradic
#EBA6FC #FCC0A6 #B7FCA6 #A6E2FC
square
#EBA6FC #FCC0A6 #B7FCA6 #A6E2FC
split-complementary
#EBA6FC #E2FCA6 #A6FCC0
monochromatic
#D030F8 #DE6BFA #EBA6FC #F8E1FE #F8E1FE

Accessibility & contrast

On white

1.84
#EBA6FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#EBA6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBA6FC
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBA6FC#FFFFFF#000000##000000
##EBA6FC1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#ACC1F9
Tritanopia (blue-blind)
#ECB0C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #eba6fc;
/* rgb */ color: rgb(235, 166, 252);
/* oklch */ color: oklch(82.0% 0.138 319.5);
Tailwind
colors: {
  custom: {
    50: '#f2c1fd',
    500: '#eba6fc',
    950: '#000000',
  },
}
SCSS
$custom: #eba6fc;
$custom-light: #f2c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eba6fc",
  "rgb": {
    "r": 235,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 288.14,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81977,
    "c": 0.13796,
    "h": 319.5
  },
  "luminance": 0.51963
}

Semantic roles & 50–950 ramp

primary
#EBA6FC
secondary
#7FDF67
accent
#E6002D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171217
muted
#858285

Preview Lab

Preview with #EBA6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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