#862C86#862C86

#862C86 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 327.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#862C86
RGBrgb(134, 44, 134)
HSLhsl(300, 51%, 35%)
HSVhsv(300, 67%, 53%)
CMYKcmyk(0%, 67.2%, 0%, 47.5%)
CIE-LABlab(35.19, 49.78, -31.57)
CIE-LCHlch(35.19, 58.95, 327.62°)
OKLaboklab(46.26% 0.1388 -0.0873)
OKLCHoklch(46.26% 0.164 327.8)
XYZxyz(15.0351, 8.5919, 23.4161)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C86 #2C862C
analogous
#592C86 #862C86 #862C59
triadic
#862C86 #86862C #2C8686
tetradic
#862C86 #86592C #2C862C #2C5986
square
#862C86 #86592C #2C862C #2C5986
split-complementary
#862C86 #59862C #2C8659
monochromatic
#2A0E2A #581D58 #862C86 #B43BB4 #CB61CB

Accessibility & contrast

On white

7.73
#862C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#862C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C86
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C86#FFFFFF#000000##FFFFFF
##862C861.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#8A3855
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862c86;
/* rgb */ color: rgb(134, 44, 134);
/* oklch */ color: oklch(46.3% 0.164 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac6da9',
    500: '#862c86',
    950: '#000000',
  },
}
SCSS
$custom: #862c86;
$custom-light: #ac6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#862c86",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.16392,
    "h": 327.8
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#862C86
secondary
#5CB15C
accent
#DA4E4E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #862C86

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

Preview Lab → · Contrast checker → · Palette generator →

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