#E0AFFE#E0AFFE

#E0AFFE is a very light, moderate violet. Relative luminance 0.537; OKLCH L 82.5% C 0.120 H 312.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#E0AFFE
RGBrgb(224, 175, 254)
HSLhsl(277, 98%, 84%)
HSVhsv(277, 31%, 100%)
CMYKcmyk(11.8%, 31.1%, 0%, 0.4%)
CIE-LABlab(78.27, 31.83, -32.36)
CIE-LCHlch(78.27, 45.39, 314.53°)
OKLaboklab(82.52% 0.0802 -0.0887)
OKLCHoklch(82.52% 0.12 312.1)
XYZxyz(63.9568, 53.6639, 100.7356)
Luminance0.5366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0AFFE #CDFEAF
analogous
#B9AFFE #E0AFFE #FEAFF5
triadic
#E0AFFE #FEE0AF #AFFEE0
tetradic
#E0AFFE #FEB9AF #CDFEAF #AFF5FE
square
#E0AFFE #FEB9AF #CDFEAF #AFF5FE
split-complementary
#E0AFFE #F5FEAF #AFFEB9
monochromatic
#B136FC #C973FD #E0AFFE #F3E1FF #F3E1FF

Accessibility & contrast

On white

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

On black

11.73
#E0AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0AFFE
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0AFFE#FFFFFF#000000##000000
##E0AFFE1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#ADC3FC
Tritanopia (blue-blind)
#DDB9CC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e0affe;
/* rgb */ color: rgb(224, 175, 254);
/* oklch */ color: oklch(82.5% 0.120 312.1);
Tailwind
colors: {
  custom: {
    50: '#eac7ff',
    500: '#e0affe',
    950: '#000000',
  },
}
SCSS
$custom: #e0affe;
$custom-light: #eac7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e0affe",
  "rgb": {
    "r": 224,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 277.215,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.8252,
    "c": 0.11958,
    "h": 312.1
  },
  "luminance": 0.53663
}

Semantic roles & 50–950 ramp

primary
#E0AFFE
secondary
#9AE46E
accent
#E60057
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #E0AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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