#862BAA#862BAA

#862BAA is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 314.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#862BAA
RGBrgb(134, 43, 170)
HSLhsl(283, 60%, 42%)
HSVhsv(283, 75%, 67%)
CMYKcmyk(21.2%, 74.7%, 0%, 33.3%)
CIE-LABlab(37.30, 57.14, -50.08)
CIE-LCHlch(37.30, 75.98, 318.76°)
OKLaboklab(48.49% 0.138 -0.1413)
OKLCHoklch(48.49% 0.198 314.3)
XYZxyz(17.9499, 9.6990, 38.9490)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BAA #4FAA2B
analogous
#472BAA #862BAA #AA2B8F
triadic
#862BAA #AA862B #2BAA86
tetradic
#862BAA #AA472B #4FAA2B #2B8FAA
square
#862BAA #AA472B #4FAA2B #2B8FAA
split-complementary
#862BAA #8FAA2B #2BAA47
monochromatic
#391248 #5F1F79 #862BAA #A843CF #BE74DC

Accessibility & contrast

On white

7.14
#862BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#862BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BAA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BAA#FFFFFF#000000##FFFFFF
##862BAA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#834769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862baa;
/* rgb */ color: rgb(134, 43, 170);
/* oklch */ color: oklch(48.5% 0.198 314.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ec4',
    500: '#862baa',
    950: '#000000',
  },
}
SCSS
$custom: #862baa;
$custom-light: #ad6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#862baa",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 282.992,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.19751,
    "h": 314.3
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#862BAA
secondary
#86C36E
accent
#E34572
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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