#E2BAFE#E2BAFE

#E2BAFE is a very light, moderate violet. Relative luminance 0.584; OKLCH L 84.6% C 0.102 H 311.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E2BAFE
RGBrgb(226, 186, 254)
HSLhsl(275, 97%, 86%)
HSVhsv(275, 27%, 100%)
CMYKcmyk(11%, 26.8%, 0%, 0.4%)
CIE-LABlab(80.98, 26.53, -28.16)
CIE-LCHlch(80.98, 38.69, 313.29°)
OKLaboklab(84.64% 0.0667 -0.0769)
OKLCHoklch(84.64% 0.102 311)
XYZxyz(66.8093, 58.4430, 101.5078)
Luminance0.5844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BAFE #D6FEBA
analogous
#C0BAFE #E2BAFE #FEBAF8
triadic
#E2BAFE #FEE2BA #BAFEE2
tetradic
#E2BAFE #FEC0BA #D6FEBA #BAF8FE
square
#E2BAFE #FEC0BA #D6FEBA #BAF8FE
split-complementary
#E2BAFE #F8FEBA #BAFEC0
monochromatic
#AF41FC #C97EFD #E2BAFE #F2E1FF #F2E1FF

Accessibility & contrast

On white

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

On black

12.69
#E2BAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BAFE
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BAFE#FFFFFF#000000##000000
##E2BAFE1.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC7FF
Deuteranopia (green-blind)
#B7CAFC
Tritanopia (blue-blind)
#DFC3D2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2bafe;
/* rgb */ color: rgb(226, 186, 254);
/* oklch */ color: oklch(84.6% 0.102 311.0);
Tailwind
colors: {
  custom: {
    50: '#ebcfff',
    500: '#e2bafe',
    950: '#000000',
  },
}
SCSS
$custom: #e2bafe;
$custom-light: #ebcfff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bafe",
  "rgb": {
    "r": 226,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 275.294,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.84643,
    "c": 0.10178,
    "h": 311
  },
  "luminance": 0.58442
}

Semantic roles & 50–950 ramp

primary
#E2BAFE
secondary
#A4E577
accent
#E6005F
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161318
muted
#848386

Preview Lab

Preview with #E2BAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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