#A882E7#A882E7

#A882E7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.4% C 0.148 H 299.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A882E7
RGBrgb(168, 130, 231)
HSLhsl(263, 68%, 71%)
HSVhsv(263, 44%, 91%)
CMYKcmyk(27.3%, 43.7%, 0%, 9.4%)
CIE-LABlab(61.71, 35.18, -46.01)
CIE-LCHlch(61.71, 57.92, 307.40°)
OKLaboklab(68.41% 0.0739 -0.1288)
OKLCHoklch(68.41% 0.149 299.8)
XYZxyz(38.5516, 30.0594, 79.3568)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A882E7 #C1E782
analogous
#828EE7 #A882E7 #DA82E7
triadic
#A882E7 #E7A882 #82E7A8
tetradic
#A882E7 #E7828E #C1E782 #82E7DA
square
#A882E7 #E7828E #C1E782 #82E7DA
split-complementary
#A882E7 #E7DA82 #8EE782
monochromatic
#6326C8 #844FDD #A882E7 #CCB5F1 #EDE5FA

Accessibility & contrast

On white

2.99
#A882E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#A882E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A882E7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A882E7#FFFFFF#000000##000000
##A882E71.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#6D94E4
Tritanopia (blue-blind)
#9C94A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a882e7;
/* rgb */ color: rgb(168, 130, 231);
/* oklch */ color: oklch(68.4% 0.148 299.8);
Tailwind
colors: {
  custom: {
    50: '#c4a7ef',
    500: '#a882e7',
    950: '#000000',
  },
}
SCSS
$custom: #a882e7;
$custom-light: #c4a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a882e7",
  "rgb": {
    "r": 168,
    "g": 130,
    "b": 231
  },
  "hsl": {
    "h": 262.574,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.1485,
    "h": 299.8
  },
  "luminance": 0.3006
}

Semantic roles & 50–950 ramp

primary
#A882E7
secondary
#E6F0D5
accent
#D0168A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A882E7

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

Preview Lab → · Contrast checker → · Palette generator →

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