#862C84#862C84

#862C84 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.162 H 328.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#862C84
RGBrgb(134, 44, 132)
HSLhsl(301, 51%, 35%)
HSVhsv(301, 67%, 53%)
CMYKcmyk(0%, 67.2%, 1.5%, 47.5%)
CIE-LABlab(35.08, 49.42, -30.51)
CIE-LCHlch(35.08, 58.08, 328.31°)
OKLaboklab(46.14% 0.1386 -0.0842)
OKLCHoklch(46.14% 0.162 328.7)
XYZxyz(14.8969, 8.5367, 22.6884)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C84 #2C862E
analogous
#5B2C86 #862C84 #862C57
triadic
#862C84 #84862C #2C8486
tetradic
#862C84 #865B2C #2C862E #2C5786
square
#862C84 #865B2C #2C862E #2C5786
split-complementary
#862C84 #57862C #2C865B
monochromatic
#2A0E29 #581D57 #862C84 #B43BB1 #CB61C9

Accessibility & contrast

On white

7.76
#862C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#862C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C84
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C84#FFFFFF#000000##FFFFFF
##862C841.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#8A3754
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862c84;
/* rgb */ color: rgb(134, 44, 132);
/* oklch */ color: oklch(46.1% 0.162 328.7);
Tailwind
colors: {
  custom: {
    50: '#ac6da8',
    500: '#862c84',
    950: '#000000',
  },
}
SCSS
$custom: #862c84;
$custom-light: #ac6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#862c84",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 301.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.16221,
    "h": 328.7
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#862C84
secondary
#5CB15E
accent
#DA514E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862C84

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

Preview Lab → · Contrast checker → · Palette generator →

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