#E7AFFF#E7AFFF

#E7AFFF is a very light, vivid purple. Relative luminance 0.549; OKLCH L 83.2% C 0.124 H 315.5°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#E7AFFF
RGBrgb(231, 175, 255)
HSLhsl(282, 100%, 84%)
HSVhsv(282, 31%, 100%)
CMYKcmyk(9.4%, 31.4%, 0%, 0%)
CIE-LABlab(78.97, 34.17, -31.76)
CIE-LCHlch(78.97, 46.65, 317.09°)
OKLaboklab(83.22% 0.0883 -0.0869)
OKLCHoklch(83.22% 0.124 315.5)
XYZxyz(66.3322, 54.8701, 101.6850)
Luminance0.5487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFFF #C7FFAF
analogous
#BFAFFF #E7AFFF #FFAFEF
triadic
#E7AFFF #FFE7AF #AFFFE7
tetradic
#E7AFFF #FFBFAF #C7FFAF #AFEFFF
square
#E7AFFF #FFBFAF #C7FFAF #AFEFFF
split-complementary
#E7AFFF #EFFFAF #AFFFBF
monochromatic
#C235FF #D572FF #E7AFFF #F6E0FF #F6E0FF

Accessibility & contrast

On white

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

On black

11.97
#E7AFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFFF
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFFF#FFFFFF#000000##000000
##E7AFFF1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#B0C5FD
Tritanopia (blue-blind)
#E6B9CC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e7afff;
/* rgb */ color: rgb(231, 175, 255);
/* oklch */ color: oklch(83.2% 0.124 315.5);
Tailwind
colors: {
  custom: {
    50: '#efc7ff',
    500: '#e7afff',
    950: '#000000',
  },
}
SCSS
$custom: #e7afff;
$custom-light: #efc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7afff",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 282,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.8322,
    "c": 0.12387,
    "h": 315.5
  },
  "luminance": 0.54869
}

Semantic roles & 50–950 ramp

primary
#E7AFFF
secondary
#91E56D
accent
#E60045
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#161318
muted
#858286

Preview Lab

Preview with #E7AFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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