#A862BD#A862BD

#A862BD is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.0% C 0.151 H 318.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A862BD
RGBrgb(168, 98, 189)
HSLhsl(286, 41%, 56%)
HSVhsv(286, 48%, 74%)
CMYKcmyk(11.1%, 48.1%, 0%, 25.9%)
CIE-LABlab(52.66, 43.35, -36.51)
CIE-LCHlch(52.66, 56.68, 319.90°)
OKLaboklab(60.98% 0.1125 -0.1011)
OKLCHoklch(60.98% 0.151 318)
XYZxyz(29.7002, 20.7353, 50.5721)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862BD #77BD62
analogous
#7B62BD #A862BD #BD62A5
triadic
#A862BD #BDA862 #62BDA8
tetradic
#A862BD #BD7B62 #77BD62 #62A5BD
square
#A862BD #BD7B62 #77BD62 #62A5BD
split-complementary
#A862BD #A5BD62 #62BD7B
monochromatic
#643174 #8A439F #A862BD #C08DCF #D8B8E1

Accessibility & contrast

On white

4.08
#A862BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A862BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862BD#FFFFFF#000000##000000
##A862BD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#A86F87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a862bd;
/* rgb */ color: rgb(168, 98, 189);
/* oklch */ color: oklch(61.0% 0.151 318.0);
Tailwind
colors: {
  custom: {
    50: '#c491d1',
    500: '#a862bd',
    950: '#000000',
  },
}
SCSS
$custom: #a862bd;
$custom-light: #c491d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a862bd",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 286.154,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.15126,
    "h": 318
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#A862BD
secondary
#B3D0AB
accent
#D15773
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A862BD

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

Preview Lab → · Contrast checker → · Palette generator →

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