#862BAE#862BAE

#862BAE is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.8% C 0.201 H 313.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#862BAE
RGBrgb(134, 43, 174)
HSLhsl(282, 60%, 43%)
HSVhsv(282, 75%, 68%)
CMYKcmyk(23%, 75.3%, 0%, 31.8%)
CIE-LABlab(37.58, 57.96, -52.02)
CIE-LCHlch(37.58, 77.88, 318.09°)
OKLaboklab(48.77% 0.1374 -0.147)
OKLCHoklch(48.77% 0.201 313.1)
XYZxyz(18.3340, 9.8526, 40.9722)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BAE #53AE2B
analogous
#442BAE #862BAE #AE2B95
triadic
#862BAE #AE862B #2BAE86
tetradic
#862BAE #AE442B #53AE2B #2B95AE
square
#862BAE #AE442B #53AE2B #2B95AE
split-complementary
#862BAE #95AE2B #2BAE44
monochromatic
#3A134C #601F7D #862BAE #A645D1 #BE76DD

Accessibility & contrast

On white

7.07
#862BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#862BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BAE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BAE#FFFFFF#000000##FFFFFF
##862BAE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#82496B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862bae;
/* rgb */ color: rgb(134, 43, 174);
/* oklch */ color: oklch(48.8% 0.201 313.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ec7',
    500: '#862bae',
    950: '#000000',
  },
}
SCSS
$custom: #862bae;
$custom-light: #ae6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#862bae",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 281.679,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.2012,
    "h": 313.1
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#862BAE
secondary
#8AC570
accent
#E44475
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862BAE

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

Preview Lab → · Contrast checker → · Palette generator →

#862BAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva