#862C80#862C80

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

Color values

HEX#862C80
RGBrgb(134, 44, 128)
HSLhsl(304, 51%, 35%)
HSVhsv(304, 67%, 53%)
CMYKcmyk(0%, 67.2%, 4.5%, 47.5%)
CIE-LABlab(34.86, 48.72, -28.36)
CIE-LCHlch(34.86, 56.38, 329.79°)
OKLaboklab(45.92% 0.1384 -0.078)
OKLCHoklch(45.92% 0.159 330.6)
XYZxyz(14.6284, 8.4293, 21.2744)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C80 #2C8632
analogous
#5F2C86 #862C80 #862C53
triadic
#862C80 #80862C #2C8086
tetradic
#862C80 #865F2C #2C8632 #2C5386
square
#862C80 #865F2C #2C8632 #2C5386
split-complementary
#862C80 #53862C #2C865F
monochromatic
#2A0E28 #581D54 #862C80 #B43BAC #CB61C4

Accessibility & contrast

On white

7.82
#862C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#862C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C80
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C80#FFFFFF#000000##FFFFFF
##862C801.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862c80;
/* rgb */ color: rgb(134, 44, 128);
/* oklch */ color: oklch(45.9% 0.159 330.6);
Tailwind
colors: {
  custom: {
    50: '#ac6da5',
    500: '#862c80',
    950: '#000000',
  },
}
SCSS
$custom: #862c80;
$custom-light: #ac6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#862c80",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 304,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.15883,
    "h": 330.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#862C80
secondary
#5CB162
accent
#DA574E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862C80

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

Preview Lab → · Contrast checker → · Palette generator →

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