#862B79#862B79

#862B79 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.154 H 334.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#862B79
RGBrgb(134, 43, 121)
HSLhsl(309, 51%, 35%)
HSVhsv(309, 68%, 53%)
CMYKcmyk(0%, 67.9%, 9.7%, 47.5%)
CIE-LABlab(34.35, 47.95, -24.79)
CIE-LCHlch(34.35, 53.98, 332.66°)
OKLaboklab(45.43% 0.1389 -0.0677)
OKLCHoklch(45.43% 0.155 334)
XYZxyz(14.1467, 8.1777, 18.9188)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B79 #2B8638
analogous
#652B86 #862B79 #862B4C
triadic
#862B79 #79862B #2B7986
tetradic
#862B79 #86652B #2B8638 #2B4C86
square
#862B79 #86652B #2B8638 #2B4C86
split-complementary
#862B79 #4C862B #2B8665
monochromatic
#290D25 #581C4F #862B79 #B43AA3 #CC60BC

Accessibility & contrast

On white

7.97
#862B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#862B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B79
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B79#FFFFFF#000000##FFFFFF
##862B791.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#8C324E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862b79;
/* rgb */ color: rgb(134, 43, 121);
/* oklch */ color: oklch(45.4% 0.154 334.0);
Tailwind
colors: {
  custom: {
    50: '#ac6ca0',
    500: '#862b79',
    950: '#000000',
  },
}
SCSS
$custom: #862b79;
$custom-light: #ac6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#862b79",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 308.571,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.1545,
    "h": 334
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#862B79
secondary
#5BB267
accent
#DB614D
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862B79

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

Preview Lab → · Contrast checker → · Palette generator →

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