#862D76#862D76

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

Color values

HEX#862D76
RGBrgb(134, 45, 118)
HSLhsl(311, 50%, 35%)
HSVhsv(311, 66%, 53%)
CMYKcmyk(0%, 66.4%, 11.9%, 47.5%)
CIE-LABlab(34.51, 46.61, -22.66)
CIE-LCHlch(34.51, 51.83, 334.07°)
OKLaboklab(45.49% 0.136 -0.0617)
OKLCHoklch(45.49% 0.149 335.6)
XYZxyz(14.0401, 8.2543, 17.9898)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D76 #2D863D
analogous
#6A2D86 #862D76 #862D49
triadic
#862D76 #76862D #2D7686
tetradic
#862D76 #866A2D #2D863D #2D4986
square
#862D76 #866A2D #2D863D #2D4986
split-complementary
#862D76 #49862D #2D866A
monochromatic
#2A0E25 #581E4E #862D76 #B43C9E #CB63B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #862d76;
/* rgb */ color: rgb(134, 45, 118);
/* oklch */ color: oklch(45.5% 0.149 335.6);
Tailwind
colors: {
  custom: {
    50: '#ac6d9d',
    500: '#862d76',
    950: '#000000',
  },
}
SCSS
$custom: #862d76;
$custom-light: #ac6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862d76",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 310.787,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.1493,
    "h": 335.6
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#862D76
secondary
#5EB16D
accent
#D9674F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862D76

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

Preview Lab → · Contrast checker → · Palette generator →

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