#E2AFFD#E2AFFD

#E2AFFD is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.7% C 0.119 H 313.6°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#E2AFFD
RGBrgb(226, 175, 253)
HSLhsl(279, 95%, 84%)
HSVhsv(279, 31%, 99%)
CMYKcmyk(10.7%, 30.8%, 0%, 0.8%)
CIE-LABlab(78.42, 32.24, -31.57)
CIE-LCHlch(78.42, 45.12, 315.60°)
OKLaboklab(82.67% 0.0822 -0.0864)
OKLCHoklch(82.67% 0.119 313.6)
XYZxyz(64.4208, 53.9216, 99.9237)
Luminance0.5392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFFD #CAFDAF
analogous
#BBAFFD #E2AFFD #FDAFF1
triadic
#E2AFFD #FDE2AF #AFFDE2
tetradic
#E2AFFD #FDBBAF #CAFDAF #AFF1FD
square
#E2AFFD #FDBBAF #CAFDAF #AFF1FD
split-complementary
#E2AFFD #F1FDAF #AFFDBB
monochromatic
#B738FA #CC73FC #E2AFFD #F4E1FE #F4E1FE

Accessibility & contrast

On white

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

On black

11.78
#E2AFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFFD
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFFD#FFFFFF#000000##000000
##E2AFFD1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2affd;
/* rgb */ color: rgb(226, 175, 253);
/* oklch */ color: oklch(82.7% 0.119 313.6);
Tailwind
colors: {
  custom: {
    50: '#ecc7fe',
    500: '#e2affd',
    950: '#000000',
  },
}
SCSS
$custom: #e2affd;
$custom-light: #ecc7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e2affd",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 279.231,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.82666,
    "c": 0.11928,
    "h": 313.6
  },
  "luminance": 0.53921
}

Semantic roles & 50–950 ramp

primary
#E2AFFD
secondary
#96E26E
accent
#E6004F
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2AFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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