#862B77#862B77

#862B77 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.153 H 335.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#862B77
RGBrgb(134, 43, 119)
HSLhsl(310, 51%, 35%)
HSVhsv(310, 68%, 53%)
CMYKcmyk(0%, 67.9%, 11.2%, 47.5%)
CIE-LABlab(34.25, 47.62, -23.69)
CIE-LCHlch(34.25, 53.19, 333.55°)
OKLaboklab(45.32% 0.1386 -0.0646)
OKLCHoklch(45.32% 0.153 335)
XYZxyz(14.0253, 8.1292, 18.2796)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B77 #2B863A
analogous
#682B86 #862B77 #862B4A
triadic
#862B77 #77862B #2B7786
tetradic
#862B77 #86682B #2B863A #2B4A86
square
#862B77 #86682B #2B863A #2B4A86
split-complementary
#862B77 #4A862B #2B8668
monochromatic
#290D25 #581C4E #862B77 #B43AA0 #CC60BA

Accessibility & contrast

On white

8.00
#862B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#862B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B77
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B77#FFFFFF#000000##FFFFFF
##862B771.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#495575
Tritanopia (blue-blind)
#8D314D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862b77;
/* rgb */ color: rgb(134, 43, 119);
/* oklch */ color: oklch(45.3% 0.153 335.0);
Tailwind
colors: {
  custom: {
    50: '#ac6c9e',
    500: '#862b77',
    950: '#000000',
  },
}
SCSS
$custom: #862b77;
$custom-light: #ac6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#862b77",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 309.89,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.15292,
    "h": 335
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#862B77
secondary
#5BB269
accent
#DB644D
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862B77

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

Preview Lab → · Contrast checker → · Palette generator →

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