#E2AFFB#E2AFFB

#E2AFFB is a very light, moderate purple. Relative luminance 0.538; OKLCH L 82.6% C 0.117 H 314.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#E2AFFB
RGBrgb(226, 175, 251)
HSLhsl(280, 90%, 84%)
HSVhsv(280, 30%, 98%)
CMYKcmyk(10%, 30.3%, 0%, 1.6%)
CIE-LABlab(78.34, 31.84, -30.61)
CIE-LCHlch(78.34, 44.16, 316.12°)
OKLaboklab(82.59% 0.0817 -0.0837)
OKLCHoklch(82.59% 0.117 314.3)
XYZxyz(64.1038, 53.7948, 98.2546)
Luminance0.5379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AFFB #C8FBAF
analogous
#BCAFFB #E2AFFB #FBAFEE
triadic
#E2AFFB #FBE2AF #AFFBE2
tetradic
#E2AFFB #FBBCAF #C8FBAF #AFEEFB
square
#E2AFFB #FBBCAF #C8FBAF #AFEEFB
split-complementary
#E2AFFB #EEFBAF #AFFBBC
monochromatic
#B83AF5 #CD75F8 #E2AFFB #F4E2FE #F4E2FE

Accessibility & contrast

On white

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

On black

11.76
#E2AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AFFB
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AFFB#FFFFFF#000000##000000
##E2AFFB1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFE
Deuteranopia (green-blind)
#AFC3F9
Tritanopia (blue-blind)
#E1B8CA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2affb;
/* rgb */ color: rgb(226, 175, 251);
/* oklch */ color: oklch(82.6% 0.117 314.3);
Tailwind
colors: {
  custom: {
    50: '#ecc7fd',
    500: '#e2affb',
    950: '#000000',
  },
}
SCSS
$custom: #e2affb;
$custom-light: #ecc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e2affb",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 280.263,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.82585,
    "c": 0.11696,
    "h": 314.3
  },
  "luminance": 0.53794
}

Semantic roles & 50–950 ramp

primary
#E2AFFB
secondary
#94DF6F
accent
#E6004B
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161317
muted
#858285

Preview Lab

Preview with #E2AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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