#A862BC#A862BC

#A862BC is a mid, vivid purple. Relative luminance 0.207; OKLCH L 60.9% C 0.150 H 318.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A862BC
RGBrgb(168, 98, 188)
HSLhsl(287, 40%, 56%)
HSVhsv(287, 48%, 74%)
CMYKcmyk(10.6%, 47.9%, 0%, 26.3%)
CIE-LABlab(52.61, 43.15, -36.01)
CIE-LCHlch(52.61, 56.20, 320.15°)
OKLaboklab(60.93% 0.1123 -0.0997)
OKLCHoklch(60.93% 0.15 318.4)
XYZxyz(29.5920, 20.6920, 50.0024)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862BC #76BC62
analogous
#7B62BC #A862BC #BC62A3
triadic
#A862BC #BCA862 #62BCA8
tetradic
#A862BC #BC7B62 #76BC62 #62A3BC
square
#A862BC #BC7B62 #76BC62 #62A3BC
split-complementary
#A862BC #A3BC62 #62BC7B
monochromatic
#643173 #89439E #A862BC #C08DCE #D8B8E1

Accessibility & contrast

On white

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

On black

5.14
#A862BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862BC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862BC#FFFFFF#000000##000000
##A862BC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#A86E86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a862bc;
/* rgb */ color: rgb(168, 98, 188);
/* oklch */ color: oklch(60.9% 0.150 318.4);
Tailwind
colors: {
  custom: {
    50: '#c491d0',
    500: '#a862bc',
    950: '#000000',
  },
}
SCSS
$custom: #a862bc;
$custom-light: #c491d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a862bc",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 286.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.15019,
    "h": 318.4
  },
  "luminance": 0.20691
}

Semantic roles & 50–950 ramp

primary
#A862BC
secondary
#B3CFAA
accent
#D05872
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A862BC

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

Preview Lab → · Contrast checker → · Palette generator →

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