#862CAA#862CAA

#862CAA is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.196 H 314.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#862CAA
RGBrgb(134, 44, 170)
HSLhsl(283, 59%, 42%)
HSVhsv(283, 74%, 67%)
CMYKcmyk(21.2%, 74.1%, 0%, 33.3%)
CIE-LABlab(37.43, 56.75, -49.87)
CIE-LCHlch(37.43, 75.55, 318.70°)
OKLaboklab(48.58% 0.137 -0.1407)
OKLCHoklch(48.58% 0.196 314.2)
XYZxyz(17.9867, 9.7726, 38.9612)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CAA #50AA2C
analogous
#472CAA #862CAA #AA2C8F
triadic
#862CAA #AA862C #2CAA86
tetradic
#862CAA #AA472C #50AA2C #2C8FAA
square
#862CAA #AA472C #50AA2C #2C8FAA
split-complementary
#862CAA #8FAA2C #2CAA47
monochromatic
#391349 #601F79 #862CAA #A744CF #BE75DB

Accessibility & contrast

On white

7.11
#862CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#862CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862CAA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CAA#FFFFFF#000000##FFFFFF
##862CAA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862caa;
/* rgb */ color: rgb(134, 44, 170);
/* oklch */ color: oklch(48.6% 0.196 314.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ec4',
    500: '#862caa',
    950: '#000000',
  },
}
SCSS
$custom: #862caa;
$custom-light: #ad6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#862caa",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 282.857,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.19639,
    "h": 314.2
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#862CAA
secondary
#87C36F
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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