#E7A2FF#E7A2FF

#E7A2FF is a light, vivid purple. Relative luminance 0.500; OKLCH L 81.0% C 0.146 H 317.1°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#E7A2FF
RGBrgb(231, 162, 255)
HSLhsl(285, 100%, 82%)
HSVhsv(285, 36%, 100%)
CMYKcmyk(9.4%, 36.5%, 0%, 0%)
CIE-LABlab(76.10, 41.08, -36.18)
CIE-LCHlch(76.10, 54.74, 318.63°)
OKLaboklab(81.05% 0.1069 -0.0994)
OKLCHoklch(81.05% 0.146 317.1)
XYZxyz(63.9227, 50.0512, 100.8819)
Luminance0.5005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7A2FF #BAFFA2
analogous
#B9A2FF #E7A2FF #FFA2E9
triadic
#E7A2FF #FFE7A2 #A2FFE7
tetradic
#E7A2FF #FFB9A2 #BAFFA2 #A2E9FF
square
#E7A2FF #FFB9A2 #BAFFA2 #A2E9FF
split-complementary
#E7A2FF #E9FFA2 #A2FFB9
monochromatic
#C728FF #D765FF #E7A2FF #F7DFFF #F7E0FF

Accessibility & contrast

On white

1.91
#E7A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#E7A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7A2FF
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7A2FF#FFFFFF#000000##000000
##E7A2FF1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#A5BEFC
Tritanopia (blue-blind)
#E7AEC5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e7a2ff;
/* rgb */ color: rgb(231, 162, 255);
/* oklch */ color: oklch(81.0% 0.146 317.1);
Tailwind
colors: {
  custom: {
    50: '#f0beff',
    500: '#e7a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #e7a2ff;
$custom-light: #f0beff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7a2ff",
  "rgb": {
    "r": 231,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 284.516,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81046,
    "c": 0.14593,
    "h": 317.1
  },
  "luminance": 0.5005
}

Semantic roles & 50–950 ramp

primary
#E7A2FF
secondary
#83E362
accent
#E6003B
background
#FFFDFF
surface
#FEF8FF
border
#D6D1D7
text
#171218
muted
#858286

Preview Lab

Preview with #E7A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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