#A882EB#A882EB

#A882EB is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.154 H 299.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A882EB
RGBrgb(168, 130, 235)
HSLhsl(262, 72%, 72%)
HSVhsv(262, 45%, 92%)
CMYKcmyk(28.5%, 44.7%, 0%, 7.8%)
CIE-LABlab(61.90, 36.15, -47.92)
CIE-LCHlch(61.90, 60.03, 307.03°)
OKLaboklab(68.62% 0.0745 -0.1344)
OKLCHoklch(68.62% 0.154 299)
XYZxyz(39.1230, 30.2880, 82.3662)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A882EB #C5EB82
analogous
#8291EB #A882EB #DD82EB
triadic
#A882EB #EBA882 #82EBA8
tetradic
#A882EB #EB8291 #C5EB82 #82EBDD
square
#A882EB #EB8291 #C5EB82 #82EBDD
split-complementary
#A882EB #EBDD82 #91EB82
monochromatic
#6121D1 #834DE3 #A882EB #CDB7F3 #EDE5FB

Accessibility & contrast

On white

2.98
#A882EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A882EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A882EB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A882EB#FFFFFF#000000##000000
##A882EB1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#9B95AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a882eb;
/* rgb */ color: rgb(168, 130, 235);
/* oklch */ color: oklch(68.6% 0.154 299.0);
Tailwind
colors: {
  custom: {
    50: '#c4a7f2',
    500: '#a882eb',
    950: '#000000',
  },
}
SCSS
$custom: #a882eb;
$custom-light: #c4a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a882eb",
  "rgb": {
    "r": 168,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 261.714,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.15364,
    "h": 299
  },
  "luminance": 0.30288
}

Semantic roles & 50–950 ramp

primary
#A882EB
secondary
#E8F2D7
accent
#D4118E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A882EB

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

Preview Lab → · Contrast checker → · Palette generator →

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