#862D77#862D77

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

Color values

HEX#862D77
RGBrgb(134, 45, 119)
HSLhsl(310, 50%, 35%)
HSVhsv(310, 66%, 53%)
CMYKcmyk(0%, 66.4%, 11.2%, 47.5%)
CIE-LABlab(34.56, 46.77, -23.22)
CIE-LCHlch(34.56, 52.22, 333.60°)
OKLaboklab(45.55% 0.1361 -0.0632)
OKLCHoklch(45.55% 0.15 335.1)
XYZxyz(14.0998, 8.2782, 18.3044)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D77 #2D863C
analogous
#682D86 #862D77 #862D4B
triadic
#862D77 #77862D #2D7786
tetradic
#862D77 #86682D #2D863C #2D4B86
square
#862D77 #86682D #2D863C #2D4B86
split-complementary
#862D77 #4B862D #2D8668
monochromatic
#2A0E26 #581E4E #862D77 #B43CA0 #CB63B9

Accessibility & contrast

On white

7.91
#862D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#862D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D77
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D77#FFFFFF#000000##FFFFFF
##862D771.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#8D334E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862d77;
/* rgb */ color: rgb(134, 45, 119);
/* oklch */ color: oklch(45.5% 0.150 335.1);
Tailwind
colors: {
  custom: {
    50: '#ac6d9e',
    500: '#862d77',
    950: '#000000',
  },
}
SCSS
$custom: #862d77;
$custom-light: #ac6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#862d77",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 310.112,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.15008,
    "h": 335.1
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#862D77
secondary
#5EB16C
accent
#D9664F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862D77

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

Preview Lab → · Contrast checker → · Palette generator →

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