#E3AFFE#E3AFFE

#E3AFFE is a very light, vivid violet. Relative luminance 0.541; OKLCH L 82.8% C 0.121 H 313.7°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#E3AFFE
RGBrgb(227, 175, 254)
HSLhsl(279, 98%, 84%)
HSVhsv(279, 31%, 100%)
CMYKcmyk(10.6%, 31.1%, 0%, 0.4%)
CIE-LABlab(78.55, 32.75, -31.90)
CIE-LCHlch(78.55, 45.71, 315.75°)
OKLaboklab(82.8% 0.0836 -0.0873)
OKLCHoklch(82.8% 0.121 313.7)
XYZxyz(64.8950, 54.1477, 100.7796)
Luminance0.5415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3AFFE #CAFEAF
analogous
#BCAFFE #E3AFFE #FEAFF1
triadic
#E3AFFE #FEE3AF #AFFEE3
tetradic
#E3AFFE #FEBCAF #CAFEAF #AFF1FE
square
#E3AFFE #FEBCAF #CAFEAF #AFF1FE
split-complementary
#E3AFFE #F1FEAF #AFFEBC
monochromatic
#B936FC #CE73FD #E3AFFE #F4E1FF #F4E1FF

Accessibility & contrast

On white

1.78
#E3AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#E3AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3AFFE
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3AFFE#FFFFFF#000000##000000
##E3AFFE1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#AEC4FC
Tritanopia (blue-blind)
#E1B9CC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e3affe;
/* rgb */ color: rgb(227, 175, 254);
/* oklch */ color: oklch(82.8% 0.121 313.7);
Tailwind
colors: {
  custom: {
    50: '#ecc7ff',
    500: '#e3affe',
    950: '#000000',
  },
}
SCSS
$custom: #e3affe;
$custom-light: #ecc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e3affe",
  "rgb": {
    "r": 227,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 279.494,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.82801,
    "c": 0.12088,
    "h": 313.7
  },
  "luminance": 0.54147
}

Semantic roles & 50–950 ramp

primary
#E3AFFE
secondary
#96E46E
accent
#E6004E
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E3AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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