#862C76#862C76

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

Color values

HEX#862C76
RGBrgb(134, 44, 118)
HSLhsl(311, 51%, 35%)
HSVhsv(311, 67%, 53%)
CMYKcmyk(0%, 67.2%, 11.9%, 47.5%)
CIE-LABlab(34.35, 47.04, -22.90)
CIE-LCHlch(34.35, 52.32, 334.04°)
OKLaboklab(45.38% 0.1372 -0.0623)
OKLCHoklch(45.38% 0.151 335.6)
XYZxyz(14.0024, 8.1789, 17.9772)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C76 #2C863C
analogous
#692C86 #862C76 #862C49
triadic
#862C76 #76862C #2C7686
tetradic
#862C76 #86692C #2C863C #2C4986
square
#862C76 #86692C #2C863C #2C4986
split-complementary
#862C76 #49862C #2C8669
monochromatic
#2A0E25 #581D4D #862C76 #B43B9F #CB61B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862C76#FFFFFF#000000##FFFFFF
##862C761.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)
#2C4878
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#8D324D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862c76;
/* rgb */ color: rgb(134, 44, 118);
/* oklch */ color: oklch(45.4% 0.151 335.6);
Tailwind
colors: {
  custom: {
    50: '#ac6c9d',
    500: '#862c76',
    950: '#000000',
  },
}
SCSS
$custom: #862c76;
$custom-light: #ac6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862c76",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 310.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.15073,
    "h": 335.6
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#862C76
secondary
#5CB16C
accent
#DA674E
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862C76

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

Preview Lab → · Contrast checker → · Palette generator →

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