#862B86#862B86

#862B86 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.165 H 327.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#862B86
RGBrgb(134, 43, 134)
HSLhsl(300, 51%, 35%)
HSVhsv(300, 68%, 53%)
CMYKcmyk(0%, 67.9%, 0%, 47.5%)
CIE-LABlab(35.04, 50.19, -31.80)
CIE-LCHlch(35.04, 59.42, 327.64°)
OKLaboklab(46.15% 0.1399 -0.0879)
OKLCHoklch(46.15% 0.165 327.8)
XYZxyz(14.9983, 8.5183, 23.4039)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B86 #2B862B
analogous
#592B86 #862B86 #862B59
triadic
#862B86 #86862B #2B8686
tetradic
#862B86 #86592B #2B862B #2B5986
square
#862B86 #86592B #2B862B #2B5986
split-complementary
#862B86 #59862B #2B8659
monochromatic
#290D29 #581C58 #862B86 #B43AB4 #CC60CC

Accessibility & contrast

On white

7.77
#862B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B86
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B86#FFFFFF#000000##FFFFFF
##862B861.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862b86;
/* rgb */ color: rgb(134, 43, 134);
/* oklch */ color: oklch(46.2% 0.165 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac6ca9',
    500: '#862b86',
    950: '#000000',
  },
}
SCSS
$custom: #862b86;
$custom-light: #ac6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#862b86",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46151,
    "c": 0.16525,
    "h": 327.8
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#862B86
secondary
#5BB25B
accent
#DB4D4D
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862B86

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

Preview Lab → · Contrast checker → · Palette generator →

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