#A882FA#A882FA

#A882FA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.4% C 0.173 H 296.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A882FA
RGBrgb(168, 130, 250)
HSLhsl(259, 92%, 75%)
HSVhsv(259, 48%, 98%)
CMYKcmyk(32.8%, 48%, 0%, 2%)
CIE-LABlab(62.67, 39.87, -54.98)
CIE-LCHlch(62.67, 67.91, 305.95°)
OKLaboklab(69.45% 0.0763 -0.155)
OKLCHoklch(69.45% 0.173 296.2)
XYZxyz(41.3821, 31.1916, 94.2643)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A882FA #D4FA82
analogous
#8298FA #A882FA #E482FA
triadic
#A882FA #FAA882 #82FAA8
tetradic
#A882FA #FA8298 #D4FA82 #82FAE4
square
#A882FA #FA8298 #D4FA82 #82FAE4
split-complementary
#A882FA #FAE482 #98FA82
monochromatic
#560CF5 #7F47F8 #A882FA #D1BDFC #EBE2FE

Accessibility & contrast

On white

2.90
#A882FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A882FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A882FA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A882FA#FFFFFF#000000##000000
##A882FA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#9699B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a882fa;
/* rgb */ color: rgb(168, 130, 250);
/* oklch */ color: oklch(69.4% 0.173 296.2);
Tailwind
colors: {
  custom: {
    50: '#c5a7fc',
    500: '#a882fa',
    950: '#000000',
  },
}
SCSS
$custom: #a882fa;
$custom-light: #c5a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a882fa",
  "rgb": {
    "r": 168,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 259,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.17274,
    "h": 296.2
  },
  "luminance": 0.31192
}

Semantic roles & 50–950 ramp

primary
#A882FA
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A882FA

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

Preview Lab → · Contrast checker → · Palette generator →

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