#A862BA#A862BA

#A862BA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.8% C 0.148 H 319.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A862BA
RGBrgb(168, 98, 186)
HSLhsl(288, 39%, 56%)
HSVhsv(288, 47%, 73%)
CMYKcmyk(9.7%, 47.3%, 0%, 27.1%)
CIE-LABlab(52.52, 42.74, -35.00)
CIE-LCHlch(52.52, 55.24, 320.68°)
OKLaboklab(60.83% 0.112 -0.0968)
OKLCHoklch(60.83% 0.148 319.2)
XYZxyz(29.3779, 20.6064, 48.8748)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862BA #74BA62
analogous
#7C62BA #A862BA #BA62A0
triadic
#A862BA #BAA862 #62BAA8
tetradic
#A862BA #BA7C62 #74BA62 #62A0BA
square
#A862BA #BA7C62 #74BA62 #62A0BA
split-complementary
#A862BA #A0BA62 #62BA7C
monochromatic
#633170 #89449B #A862BA #C08DCD #D7B7DF

Accessibility & contrast

On white

4.10
#A862BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A862BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862BA#FFFFFF#000000##000000
##A862BA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#6780B7
Tritanopia (blue-blind)
#A96E85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a862ba;
/* rgb */ color: rgb(168, 98, 186);
/* oklch */ color: oklch(60.8% 0.148 319.2);
Tailwind
colors: {
  custom: {
    50: '#c391cf',
    500: '#a862ba',
    950: '#000000',
  },
}
SCSS
$custom: #a862ba;
$custom-light: #c391cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ba",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 287.727,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.14805,
    "h": 319.2
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#A862BA
secondary
#B1CEAA
accent
#CF5971
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A862BA

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

Preview Lab → · Contrast checker → · Palette generator →

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