#E2AFFE#E2AFFE

#E2AFFE is a very light, vivid violet. Relative luminance 0.540; OKLCH L 82.7% C 0.120 H 313.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#E2AFFE
RGBrgb(226, 175, 254)
HSLhsl(279, 98%, 84%)
HSVhsv(279, 31%, 100%)
CMYKcmyk(11%, 31.1%, 0%, 0.4%)
CIE-LABlab(78.45, 32.44, -32.05)
CIE-LCHlch(78.45, 45.60, 315.35°)
OKLaboklab(82.71% 0.0825 -0.0878)
OKLCHoklch(82.71% 0.12 313.2)
XYZxyz(64.5805, 53.9855, 100.7649)
Luminance0.5398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFFE #CBFEAF
analogous
#BBAFFE #E2AFFE #FEAFF3
triadic
#E2AFFE #FEE2AF #AFFEE2
tetradic
#E2AFFE #FEBBAF #CBFEAF #AFF3FE
square
#E2AFFE #FEBBAF #CBFEAF #AFF3FE
split-complementary
#E2AFFE #F3FEAF #AFFEBB
monochromatic
#B636FC #CC73FD #E2AFFE #F4E1FF #F4E1FF

Accessibility & contrast

On white

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

On black

11.80
#E2AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFFE
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFFE#FFFFFF#000000##000000
##E2AFFE1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2affe;
/* rgb */ color: rgb(226, 175, 254);
/* oklch */ color: oklch(82.7% 0.120 313.2);
Tailwind
colors: {
  custom: {
    50: '#ecc7ff',
    500: '#e2affe',
    950: '#000000',
  },
}
SCSS
$custom: #e2affe;
$custom-light: #ecc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e2affe",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 278.734,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.12044,
    "h": 313.2
  },
  "luminance": 0.53984
}

Semantic roles & 50–950 ramp

primary
#E2AFFE
secondary
#97E46E
accent
#E60051
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E2AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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