#E4BAFA#E4BAFA

#E4BAFA is a very light, moderate violet. Relative luminance 0.585; OKLCH L 84.7% C 0.098 H 313.8°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E4BAFA
RGBrgb(228, 186, 250)
HSLhsl(279, 86%, 85%)
HSVhsv(279, 26%, 98%)
CMYKcmyk(8.8%, 25.6%, 0%, 2%)
CIE-LABlab(81.02, 26.35, -25.95)
CIE-LCHlch(81.02, 36.98, 315.44°)
OKLaboklab(84.67% 0.0678 -0.0706)
OKLCHoklch(84.67% 0.098 313.8)
XYZxyz(66.8064, 58.5148, 98.1991)
Luminance0.5851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4BAFA #D0FABA
analogous
#C4BAFA #E4BAFA #FABAF0
triadic
#E4BAFA #FAE4BA #BAFAE4
tetradic
#E4BAFA #FAC4BA #D0FABA #BAF0FA
square
#E4BAFA #FAC4BA #D0FABA #BAF0FA
split-complementary
#E4BAFA #F0FABA #BAFAC4
monochromatic
#B748F2 #CE81F6 #E4BAFA #F4E2FD #F4E2FD

Accessibility & contrast

On white

1.65
#E4BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E4BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4BAFA
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4BAFA#FFFFFF#000000##000000
##E4BAFA1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C7FD
Deuteranopia (green-blind)
#BACAF8
Tritanopia (blue-blind)
#E3C2D0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4bafa;
/* rgb */ color: rgb(228, 186, 250);
/* oklch */ color: oklch(84.7% 0.098 313.8);
Tailwind
colors: {
  custom: {
    50: '#edcffc',
    500: '#e4bafa',
    950: '#000000',
  },
}
SCSS
$custom: #e4bafa;
$custom-light: #edcffc;
$custom-dark: #000000;
JSON
{
  "hex": "#e4bafa",
  "rgb": {
    "r": 228,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 279.375,
    "s": 86.486,
    "l": 85.49
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.09788,
    "h": 313.8
  },
  "luminance": 0.58514
}

Semantic roles & 50–950 ramp

primary
#E4BAFA
secondary
#9CDE7A
accent
#E30250
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#161317
muted
#858385

Preview Lab

Preview with #E4BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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