#E6AFFC#E6AFFC

#E6AFFC is a very light, vivid purple. Relative luminance 0.545; OKLCH L 83.0% C 0.120 H 316.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#E6AFFC
RGBrgb(230, 175, 252)
HSLhsl(283, 93%, 84%)
HSVhsv(283, 31%, 99%)
CMYKcmyk(8.7%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.76, 33.27, -30.47)
CIE-LCHlch(78.76, 45.11, 317.51°)
OKLaboklab(83% 0.0864 -0.0832)
OKLCHoklch(83% 0.12 316.1)
XYZxyz(65.5311, 54.5125, 99.1464)
Luminance0.5451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6AFFC #C5FCAF
analogous
#BFAFFC #E6AFFC #FCAFEB
triadic
#E6AFFC #FCE6AF #AFFCE6
tetradic
#E6AFFC #FCBFAF #C5FCAF #AFEBFC
square
#E6AFFC #FCBFAF #C5FCAF #AFEBFC
split-complementary
#E6AFFC #EBFCAF #AFFCBF
monochromatic
#C139F8 #D474FA #E6AFFC #F6E2FE #F6E2FE

Accessibility & contrast

On white

1.76
#E6AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#E6AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6AFFC
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6AFFC#FFFFFF#000000##000000
##E6AFFC1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4C0FF
Deuteranopia (green-blind)
#B1C5FA
Tritanopia (blue-blind)
#E5B8CB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e6affc;
/* rgb */ color: rgb(230, 175, 252);
/* oklch */ color: oklch(83.0% 0.120 316.1);
Tailwind
colors: {
  custom: {
    50: '#eec7fd',
    500: '#e6affc',
    950: '#000000',
  },
}
SCSS
$custom: #e6affc;
$custom-light: #eec7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e6affc",
  "rgb": {
    "r": 230,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 282.857,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.83004,
    "c": 0.12,
    "h": 316.1
  },
  "luminance": 0.54511
}

Semantic roles & 50–950 ramp

primary
#E6AFFC
secondary
#8FE06F
accent
#E60042
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E6AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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