#A882EC#A882EC

#A882EC is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.155 H 298.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A882EC
RGBrgb(168, 130, 236)
HSLhsl(262, 74%, 72%)
HSVhsv(262, 45%, 93%)
CMYKcmyk(28.8%, 44.9%, 0%, 7.5%)
CIE-LABlab(61.95, 36.40, -48.39)
CIE-LCHlch(61.95, 60.55, 306.95°)
OKLaboklab(68.68% 0.0746 -0.1357)
OKLCHoklch(68.68% 0.155 298.8)
XYZxyz(39.2678, 30.3459, 83.1292)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A882EC #C6EC82
analogous
#8291EC #A882EC #DD82EC
triadic
#A882EC #ECA882 #82ECA8
tetradic
#A882EC #EC8291 #C6EC82 #82ECDD
square
#A882EC #EC8291 #C6EC82 #82ECDD
split-complementary
#A882EC #ECDD82 #91EC82
monochromatic
#6020D3 #834DE4 #A882EC #CDB7F4 #EDE4FB

Accessibility & contrast

On white

2.97
#A882EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A882EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A882EC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A882EC#FFFFFF#000000##000000
##A882EC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#9A95AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a882ec;
/* rgb */ color: rgb(168, 130, 236);
/* oklch */ color: oklch(68.7% 0.155 298.8);
Tailwind
colors: {
  custom: {
    50: '#c4a7f2',
    500: '#a882ec',
    950: '#000000',
  },
}
SCSS
$custom: #a882ec;
$custom-light: #c4a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a882ec",
  "rgb": {
    "r": 168,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 261.509,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68675,
    "c": 0.15491,
    "h": 298.8
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#A882EC
secondary
#E9F2D7
accent
#D6108F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A882EC

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

Preview Lab → · Contrast checker → · Palette generator →

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