#862B82#862B82

#862B82 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 329.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#862B82
RGBrgb(134, 43, 130)
HSLhsl(303, 51%, 35%)
HSVhsv(303, 68%, 53%)
CMYKcmyk(0%, 67.9%, 3%, 47.5%)
CIE-LABlab(34.82, 49.48, -29.67)
CIE-LCHlch(34.82, 57.70, 329.05°)
OKLaboklab(45.92% 0.1397 -0.0818)
OKLCHoklch(45.92% 0.162 329.7)
XYZxyz(14.7245, 8.4089, 21.9623)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B82 #2B862F
analogous
#5C2B86 #862B82 #862B55
triadic
#862B82 #82862B #2B8286
tetradic
#862B82 #865C2B #2B862F #2B5586
square
#862B82 #865C2B #2B862F #2B5586
split-complementary
#862B82 #55862B #2B865C
monochromatic
#290D28 #581C55 #862B82 #B43AAF #CC60C7

Accessibility & contrast

On white

7.83
#862B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#862B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B82
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B82#FFFFFF#000000##FFFFFF
##862B821.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#8B3653
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862b82;
/* rgb */ color: rgb(134, 43, 130);
/* oklch */ color: oklch(45.9% 0.162 329.7);
Tailwind
colors: {
  custom: {
    50: '#ac6ca6',
    500: '#862b82',
    950: '#000000',
  },
}
SCSS
$custom: #862b82;
$custom-light: #ac6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#862b82",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 302.637,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.16186,
    "h": 329.7
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#862B82
secondary
#5BB25F
accent
#DB534D
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862B82

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

Preview Lab → · Contrast checker → · Palette generator →

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