#A862BB#A862BB

#A862BB is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.149 H 318.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A862BB
RGBrgb(168, 98, 187)
HSLhsl(287, 40%, 56%)
HSVhsv(287, 48%, 73%)
CMYKcmyk(10.2%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.56, 42.94, -35.51)
CIE-LCHlch(52.56, 55.72, 320.41°)
OKLaboklab(60.88% 0.1122 -0.0982)
OKLCHoklch(60.88% 0.149 318.8)
XYZxyz(29.4846, 20.6491, 49.4366)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862BB #75BB62
analogous
#7B62BB #A862BB #BB62A1
triadic
#A862BB #BBA862 #62BBA8
tetradic
#A862BB #BB7B62 #75BB62 #62A1BB
square
#A862BB #BB7B62 #75BB62 #62A1BB
split-complementary
#A862BB #A1BB62 #62BB7B
monochromatic
#643171 #89449C #A862BB #C08DCD #D7B7E0

Accessibility & contrast

On white

4.09
#A862BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A862BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862BB#FFFFFF#000000##000000
##A862BB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#A86E86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a862bb;
/* rgb */ color: rgb(168, 98, 187);
/* oklch */ color: oklch(60.9% 0.149 318.8);
Tailwind
colors: {
  custom: {
    50: '#c491d0',
    500: '#a862bb',
    950: '#000000',
  },
}
SCSS
$custom: #a862bb;
$custom-light: #c491d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a862bb",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 287.191,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.14912,
    "h": 318.8
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#A862BB
secondary
#B2CFAA
accent
#CF5872
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A862BB

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

Preview Lab → · Contrast checker → · Palette generator →

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