#862B80#862B80

#862B80 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.160 H 330.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#862B80
RGBrgb(134, 43, 128)
HSLhsl(304, 51%, 35%)
HSVhsv(304, 68%, 53%)
CMYKcmyk(0%, 67.9%, 4.5%, 47.5%)
CIE-LABlab(34.71, 49.14, -28.60)
CIE-LCHlch(34.71, 56.85, 329.80°)
OKLaboklab(45.81% 0.1396 -0.0787)
OKLCHoklch(45.81% 0.16 330.6)
XYZxyz(14.5916, 8.3557, 21.2622)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B80 #2B8631
analogous
#5F2B86 #862B80 #862B53
triadic
#862B80 #80862B #2B8086
tetradic
#862B80 #865F2B #2B8631 #2B5386
square
#862B80 #865F2B #2B8631 #2B5386
split-complementary
#862B80 #53862B #2B865F
monochromatic
#290D27 #581C54 #862B80 #B43AAC #CC60C5

Accessibility & contrast

On white

7.86
#862B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B80
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B80#FFFFFF#000000##FFFFFF
##862B801.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A82
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#8B3552
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862b80;
/* rgb */ color: rgb(134, 43, 128);
/* oklch */ color: oklch(45.8% 0.160 330.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ca5',
    500: '#862b80',
    950: '#000000',
  },
}
SCSS
$custom: #862b80;
$custom-light: #ac6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#862b80",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 303.956,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45809,
    "c": 0.1602,
    "h": 330.6
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#862B80
secondary
#5BB261
accent
#DB564D
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862B80

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

Preview Lab → · Contrast checker → · Palette generator →

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