#A882FD#A882FD

#A882FD is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.177 H 295.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A882FD
RGBrgb(168, 130, 253)
HSLhsl(259, 97%, 75%)
HSVhsv(259, 49%, 99%)
CMYKcmyk(33.6%, 48.6%, 0%, 0.8%)
CIE-LABlab(62.83, 40.63, -56.37)
CIE-LCHlch(62.83, 69.49, 305.78°)
OKLaboklab(69.62% 0.0766 -0.159)
OKLCHoklch(69.62% 0.177 295.7)
XYZxyz(41.8562, 31.3813, 96.7614)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A882FD #D7FD82
analogous
#8299FD #A882FD #E682FD
triadic
#A882FD #FDA882 #82FDA8
tetradic
#A882FD #FD8299 #D7FD82 #82FDE6
square
#A882FD #FD8299 #D7FD82 #82FDE6
split-complementary
#A882FD #FDE682 #99FD82
monochromatic
#540AFB #7E46FC #A882FD #D2BEFE #EAE1FF

Accessibility & contrast

On white

2.89
#A882FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A882FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A882FD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A882FD#FFFFFF#000000##000000
##A882FD1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#959AB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a882fd;
/* rgb */ color: rgb(168, 130, 253);
/* oklch */ color: oklch(69.6% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#c5a7ff',
    500: '#a882fd',
    950: '#000000',
  },
}
SCSS
$custom: #a882fd;
$custom-light: #c5a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a882fd",
  "rgb": {
    "r": 168,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 258.537,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.17654,
    "h": 295.7
  },
  "luminance": 0.31382
}

Semantic roles & 50–950 ramp

primary
#A882FD
secondary
#ECF7D4
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A882FD

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

Preview Lab → · Contrast checker → · Palette generator →

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