#E2BAFF#E2BAFF

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

Color values

HEX#E2BAFF
RGBrgb(226, 186, 255)
HSLhsl(275, 100%, 86%)
HSVhsv(275, 27%, 100%)
CMYKcmyk(11.4%, 27.1%, 0%, 0%)
CIE-LABlab(81.02, 26.73, -28.64)
CIE-LCHlch(81.02, 39.18, 313.02°)
OKLaboklab(84.68% 0.067 -0.0782)
OKLCHoklch(84.68% 0.103 310.6)
XYZxyz(66.9698, 58.5073, 102.3534)
Luminance0.5851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BAFF #D7FFBA
analogous
#C0BAFF #E2BAFF #FFBAF9
triadic
#E2BAFF #FFE2BA #BAFFE2
tetradic
#E2BAFF #FFC0BA #D7FFBA #BAF9FF
square
#E2BAFF #FFC0BA #D7FFBA #BAF9FF
split-complementary
#E2BAFF #F9FFBA #BAFFC0
monochromatic
#AF40FF #C87DFF #E2BAFF #F2E0FF #F2E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2BAFF#FFFFFF#000000##000000
##E2BAFF1.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)
#AFC7FF
Deuteranopia (green-blind)
#B7CAFD
Tritanopia (blue-blind)
#DFC3D2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2baff;
/* rgb */ color: rgb(226, 186, 255);
/* oklch */ color: oklch(84.7% 0.103 310.6);
Tailwind
colors: {
  custom: {
    50: '#ebcfff',
    500: '#e2baff',
    950: '#000000',
  },
}
SCSS
$custom: #e2baff;
$custom-light: #ebcfff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2baff",
  "rgb": {
    "r": 226,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 274.783,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.84682,
    "c": 0.10299,
    "h": 310.6
  },
  "luminance": 0.58507
}

Semantic roles & 50–950 ramp

primary
#E2BAFF
secondary
#A6E776
accent
#E60060
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161318
muted
#848386

Preview Lab

Preview with #E2BAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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