#E7AFF2#E7AFF2

#E7AFF2 is a very light, moderate purple. Relative luminance 0.541; OKLCH L 82.7% C 0.109 H 320.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#E7AFF2
RGBrgb(231, 175, 242)
HSLhsl(290, 72%, 82%)
HSVhsv(290, 28%, 95%)
CMYKcmyk(4.5%, 27.7%, 0%, 5.1%)
CIE-LABlab(78.50, 31.64, -25.49)
CIE-LCHlch(78.50, 40.62, 321.14°)
OKLaboklab(82.71% 0.0849 -0.0692)
OKLCHoklch(82.71% 0.109 320.8)
XYZxyz(64.3099, 54.0612, 91.0343)
Luminance0.5406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7AFF2 #BAF2AF
analogous
#C6AFF2 #E7AFF2 #F2AFDC
triadic
#E7AFF2 #F2E7AF #AFF2E7
tetradic
#E7AFF2 #F2C6AF #BAF2AF #AFDCF2
square
#E7AFF2 #F2C6AF #BAF2AF #AFDCF2
split-complementary
#E7AFF2 #DCF2AF #AFF2C6
monochromatic
#C746E1 #D77AE9 #E7AFF2 #F7E4FB #F7E5FB

Accessibility & contrast

On white

1.78
#E7AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#E7AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7AFF2
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7AFF2#FFFFFF#000000##000000
##E7AFF21.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BEF5
Deuteranopia (green-blind)
#B5C4F0
Tritanopia (blue-blind)
#E9B6C7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e7aff2;
/* rgb */ color: rgb(231, 175, 242);
/* oklch */ color: oklch(82.7% 0.109 320.8);
Tailwind
colors: {
  custom: {
    50: '#efc7f6',
    500: '#e7aff2',
    950: '#000000',
  },
}
SCSS
$custom: #e7aff2;
$custom-light: #efc7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7aff2",
  "rgb": {
    "r": 231,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 290.149,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.82708,
    "c": 0.10948,
    "h": 320.8
  },
  "luminance": 0.5406
}

Semantic roles & 50–950 ramp

primary
#E7AFF2
secondary
#83D174
accent
#D41131
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#161317
muted
#858285

Preview Lab

Preview with #E7AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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