#E8AFFF#E8AFFF

#E8AFFF is a very light, vivid purple. Relative luminance 0.550; OKLCH L 83.3% C 0.124 H 316.0°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#E8AFFF
RGBrgb(232, 175, 255)
HSLhsl(283, 100%, 84%)
HSVhsv(283, 31%, 100%)
CMYKcmyk(9%, 31.4%, 0%, 0%)
CIE-LABlab(79.06, 34.47, -31.60)
CIE-LCHlch(79.06, 46.77, 317.49°)
OKLaboklab(83.32% 0.0894 -0.0864)
OKLCHoklch(83.32% 0.124 316)
XYZxyz(66.6560, 55.0371, 101.7002)
Luminance0.5504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8AFFF #C6FFAF
analogous
#C0AFFF #E8AFFF #FFAFEE
triadic
#E8AFFF #FFE8AF #AFFFE8
tetradic
#E8AFFF #FFC0AF #C6FFAF #AFEEFF
square
#E8AFFF #FFC0AF #C6FFAF #AFEEFF
split-complementary
#E8AFFF #EEFFAF #AFFFC0
monochromatic
#C535FF #D672FF #E8AFFF #F6E0FF #F6E0FF

Accessibility & contrast

On white

1.75
#E8AFFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#E8AFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8AFFF
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8AFFF#FFFFFF#000000##000000
##E8AFFF1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4C0FF
Deuteranopia (green-blind)
#B1C6FC
Tritanopia (blue-blind)
#E7B9CC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e8afff;
/* rgb */ color: rgb(232, 175, 255);
/* oklch */ color: oklch(83.3% 0.124 316.0);
Tailwind
colors: {
  custom: {
    50: '#f0c7ff',
    500: '#e8afff',
    950: '#000000',
  },
}
SCSS
$custom: #e8afff;
$custom-light: #f0c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e8afff",
  "rgb": {
    "r": 232,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 282.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.83315,
    "c": 0.12435,
    "h": 316
  },
  "luminance": 0.55036
}

Semantic roles & 50–950 ramp

primary
#E8AFFF
secondary
#90E56D
accent
#E60042
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #E8AFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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