#862879#862879

#862879 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.159 H 333.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#862879
RGBrgb(134, 40, 121)
HSLhsl(308, 54%, 34%)
HSVhsv(308, 70%, 53%)
CMYKcmyk(0%, 70.1%, 9.7%, 47.5%)
CIE-LABlab(33.92, 49.17, -25.47)
CIE-LCHlch(33.92, 55.37, 332.61°)
OKLaboklab(45.11% 0.1424 -0.0697)
OKLCHoklch(45.11% 0.159 333.9)
XYZxyz(14.0416, 7.9676, 18.8838)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862879 #288635
analogous
#642886 #862879 #86284A
triadic
#862879 #798628 #287986
tetradic
#862879 #866428 #288635 #284A86
square
#862879 #866428 #288635 #284A86
split-complementary
#862879 #4A8628 #288664
monochromatic
#280C24 #571A4E #862879 #B536A4 #CE5BBE

Accessibility & contrast

On white

8.10
#862879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#862879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862879
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862879#FFFFFF#000000##FFFFFF
##8628791.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#8C304D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862879;
/* rgb */ color: rgb(134, 40, 121);
/* oklch */ color: oklch(45.1% 0.159 333.9);
Tailwind
colors: {
  custom: {
    50: '#ac6aa0',
    500: '#862879',
    950: '#000000',
  },
}
SCSS
$custom: #862879;
$custom-light: #ac6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#862879",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 308.298,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.15855,
    "h": 333.9
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#862879
secondary
#57B363
accent
#DD5F4A
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862879

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

Preview Lab → · Contrast checker → · Palette generator →

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