#E2BAFA#E2BAFA

#E2BAFA is a very light, moderate violet. Relative luminance 0.582; OKLCH L 84.5% C 0.097 H 312.6°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#E2BAFA
RGBrgb(226, 186, 250)
HSLhsl(278, 86%, 85%)
HSVhsv(278, 26%, 98%)
CMYKcmyk(9.6%, 25.6%, 0%, 2%)
CIE-LABlab(80.84, 25.72, -26.24)
CIE-LCHlch(80.84, 36.75, 314.43°)
OKLaboklab(84.49% 0.0656 -0.0714)
OKLCHoklch(84.49% 0.097 312.6)
XYZxyz(66.1754, 58.1895, 98.1695)
Luminance0.5819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BAFA #D2FABA
analogous
#C2BAFA #E2BAFA #FABAF2
triadic
#E2BAFA #FAE2BA #BAFAE2
tetradic
#E2BAFA #FAC2BA #D2FABA #BAF2FA
square
#E2BAFA #FAC2BA #D2FABA #BAF2FA
split-complementary
#E2BAFA #F2FABA #BAFAC2
monochromatic
#B248F2 #CA81F6 #E2BAFA #F3E2FD #F3E2FD

Accessibility & contrast

On white

1.66
#E2BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#E2BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BAFA
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BAFA#FFFFFF#000000##000000
##E2BAFA1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C7FD
Deuteranopia (green-blind)
#B9CAF8
Tritanopia (blue-blind)
#E0C2D0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2bafa;
/* rgb */ color: rgb(226, 186, 250);
/* oklch */ color: oklch(84.5% 0.097 312.6);
Tailwind
colors: {
  custom: {
    50: '#ebcffc',
    500: '#e2bafa',
    950: '#000000',
  },
}
SCSS
$custom: #e2bafa;
$custom-light: #ebcffc;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bafa",
  "rgb": {
    "r": 226,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 277.5,
    "s": 86.486,
    "l": 85.49
  },
  "oklch": {
    "l": 0.84489,
    "c": 0.09699,
    "h": 312.6
  },
  "luminance": 0.58189
}

Semantic roles & 50–950 ramp

primary
#E2BAFA
secondary
#A0DE7A
accent
#E30257
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161317
muted
#848385

Preview Lab

Preview with #E2BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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