#862C79#862C79

#862C79 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.153 H 334.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#862C79
RGBrgb(134, 44, 121)
HSLhsl(309, 51%, 35%)
HSVhsv(309, 67%, 53%)
CMYKcmyk(0%, 67.2%, 9.7%, 47.5%)
CIE-LABlab(34.50, 47.53, -24.56)
CIE-LCHlch(34.50, 53.50, 332.68°)
OKLaboklab(45.54% 0.1376 -0.0671)
OKLCHoklch(45.54% 0.153 334)
XYZxyz(14.1835, 8.2513, 18.9311)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C79 #2C8639
analogous
#662C86 #862C79 #862C4C
triadic
#862C79 #79862C #2C7986
tetradic
#862C79 #86662C #2C8639 #2C4C86
square
#862C79 #86662C #2C8639 #2C4C86
split-complementary
#862C79 #4C862C #2C8666
monochromatic
#2A0E26 #581D4F #862C79 #B43BA3 #CB61BC

Accessibility & contrast

On white

7.92
#862C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#862C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C79
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C79#FFFFFF#000000##FFFFFF
##862C791.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497B
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#8C334E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862c79;
/* rgb */ color: rgb(134, 44, 121);
/* oklch */ color: oklch(45.5% 0.153 334.0);
Tailwind
colors: {
  custom: {
    50: '#ac6ca0',
    500: '#862c79',
    950: '#000000',
  },
}
SCSS
$custom: #862c79;
$custom-light: #ac6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#862c79",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 308.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.1531,
    "h": 334
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#862C79
secondary
#5CB169
accent
#DA624E
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862C79

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

Preview Lab → · Contrast checker → · Palette generator →

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