#E2AFFC#E2AFFC

#E2AFFC is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.6% C 0.118 H 313.9°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#E2AFFC
RGBrgb(226, 175, 252)
HSLhsl(280, 93%, 84%)
HSVhsv(280, 31%, 99%)
CMYKcmyk(10.3%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.38, 32.04, -31.09)
CIE-LCHlch(78.38, 44.64, 315.86°)
OKLaboklab(82.63% 0.082 -0.0851)
OKLCHoklch(82.63% 0.118 313.9)
XYZxyz(64.2619, 53.8580, 99.0869)
Luminance0.5386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFFC #C9FCAF
analogous
#BBAFFC #E2AFFC #FCAFEF
triadic
#E2AFFC #FCE2AF #AFFCE2
tetradic
#E2AFFC #FCBBAF #C9FCAF #AFEFFC
square
#E2AFFC #FCBBAF #C9FCAF #AFEFFC
split-complementary
#E2AFFC #EFFCAF #AFFCBB
monochromatic
#B739F8 #CD74FA #E2AFFC #F4E2FE #F4E2FE

Accessibility & contrast

On white

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

On black

11.77
#E2AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFFC
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFFC#FFFFFF#000000##000000
##E2AFFC1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2affc;
/* rgb */ color: rgb(226, 175, 252);
/* oklch */ color: oklch(82.6% 0.118 313.9);
Tailwind
colors: {
  custom: {
    50: '#ecc7fd',
    500: '#e2affc',
    950: '#000000',
  },
}
SCSS
$custom: #e2affc;
$custom-light: #ecc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2affc",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 279.74,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82625,
    "c": 0.11811,
    "h": 313.9
  },
  "luminance": 0.53857
}

Semantic roles & 50–950 ramp

primary
#E2AFFC
secondary
#95E06F
accent
#E6004D
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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