#862E80#862E80

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

Color values

HEX#862E80
RGBrgb(134, 46, 128)
HSLhsl(304, 49%, 35%)
HSVhsv(304, 66%, 53%)
CMYKcmyk(0%, 65.7%, 4.5%, 47.5%)
CIE-LABlab(35.17, 47.87, -27.88)
CIE-LCHlch(35.17, 55.40, 329.78°)
OKLaboklab(46.14% 0.1359 -0.0766)
OKLCHoklch(46.14% 0.156 330.6)
XYZxyz(14.7047, 8.5819, 21.2999)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E80 #2E8634
analogous
#602E86 #862E80 #862E54
triadic
#862E80 #80862E #2E8086
tetradic
#862E80 #86602E #2E8634 #2E5486
square
#862E80 #86602E #2E8634 #2E5486
split-complementary
#862E80 #54862E #2E8660
monochromatic
#2B0F29 #581E54 #862E80 #B43EAC #CA64C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862E80#FFFFFF#000000##FFFFFF
##862E801.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)
#284B82
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#8B3753
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862e80;
/* rgb */ color: rgb(134, 46, 128);
/* oklch */ color: oklch(46.1% 0.156 330.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ea5',
    500: '#862e80',
    950: '#000000',
  },
}
SCSS
$custom: #862e80;
$custom-light: #ac6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#862e80",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 304.091,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.15603,
    "h": 330.6
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#862E80
secondary
#5FB165
accent
#D8594F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862E80

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

Preview Lab → · Contrast checker → · Palette generator →

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