#E0AFFC#E0AFFC

#E0AFFC is a very light, moderate violet. Relative luminance 0.535; OKLCH L 82.4% C 0.117 H 312.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#E0AFFC
RGBrgb(224, 175, 252)
HSLhsl(278, 93%, 84%)
HSVhsv(278, 31%, 99%)
CMYKcmyk(11.1%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.19, 31.42, -31.40)
CIE-LCHlch(78.19, 44.42, 315.03°)
OKLaboklab(82.44% 0.0797 -0.0859)
OKLCHoklch(82.44% 0.117 312.8)
XYZxyz(63.6382, 53.5365, 99.0577)
Luminance0.5354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0AFFC #CBFCAF
analogous
#B9AFFC #E0AFFC #FCAFF1
triadic
#E0AFFC #FCE0AF #AFFCE0
tetradic
#E0AFFC #FCB9AF #CBFCAF #AFF1FC
square
#E0AFFC #FCB9AF #CBFCAF #AFF1FC
split-complementary
#E0AFFC #F1FCAF #AFFCB9
monochromatic
#B239F8 #C974FA #E0AFFC #F4E2FE #F4E2FE

Accessibility & contrast

On white

1.79
#E0AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#E0AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0AFFC
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0AFFC#FFFFFF#000000##000000
##E0AFFC1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#AEC3FA
Tritanopia (blue-blind)
#DEB9CB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #e0affc;
/* rgb */ color: rgb(224, 175, 252);
/* oklch */ color: oklch(82.4% 0.117 312.8);
Tailwind
colors: {
  custom: {
    50: '#eac7fd',
    500: '#e0affc',
    950: '#000000',
  },
}
SCSS
$custom: #e0affc;
$custom-light: #eac7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e0affc",
  "rgb": {
    "r": 224,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 278.182,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82438,
    "c": 0.11722,
    "h": 312.8
  },
  "luminance": 0.53536
}

Semantic roles & 50–950 ramp

primary
#E0AFFC
secondary
#98E06F
accent
#E60053
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #E0AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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