#862777#862777

#862777 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.158 H 334.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#862777
RGBrgb(134, 39, 119)
HSLhsl(309, 55%, 34%)
HSVhsv(309, 71%, 53%)
CMYKcmyk(0%, 70.9%, 11.2%, 47.5%)
CIE-LABlab(33.67, 49.23, -24.59)
CIE-LCHlch(33.67, 55.04, 333.46°)
OKLaboklab(44.9% 0.1434 -0.0671)
OKLCHoklch(44.9% 0.158 334.9)
XYZxyz(13.8870, 7.8525, 18.2335)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862777 #278636
analogous
#662786 #862777 #862748
triadic
#862777 #778627 #277786
tetradic
#862777 #866627 #278636 #274886
square
#862777 #866627 #278636 #274886
split-complementary
#862777 #488627 #278666
monochromatic
#270B23 #57194D #862777 #B535A1 #CF59BC

Accessibility & contrast

On white

8.17
#862777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#862777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862777
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862777#FFFFFF#000000##FFFFFF
##8627771.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#8D2E4B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862777;
/* rgb */ color: rgb(134, 39, 119);
/* oklch */ color: oklch(44.9% 0.158 334.9);
Tailwind
colors: {
  custom: {
    50: '#ac6a9e',
    500: '#862777',
    950: '#000000',
  },
}
SCSS
$custom: #862777;
$custom-light: #ac6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#862777",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 309.474,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.15831,
    "h": 334.9
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#862777
secondary
#55B464
accent
#DE614A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862777

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

Preview Lab → · Contrast checker → · Palette generator →

#862777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva