#862779#862779

#862779 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 333.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#862779
RGBrgb(134, 39, 121)
HSLhsl(308, 55%, 34%)
HSVhsv(308, 71%, 53%)
CMYKcmyk(0%, 70.9%, 9.7%, 47.5%)
CIE-LABlab(33.78, 49.56, -25.69)
CIE-LCHlch(33.78, 55.82, 332.60°)
OKLaboklab(45.01% 0.1436 -0.0703)
OKLCHoklch(45.01% 0.16 333.9)
XYZxyz(14.0083, 7.9010, 18.8727)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862779 #278634
analogous
#642786 #862779 #86274A
triadic
#862779 #798627 #277986
tetradic
#862779 #866427 #278634 #274A86
square
#862779 #866427 #278634 #274A86
split-complementary
#862779 #4A8627 #278664
monochromatic
#270B23 #57194E #862779 #B535A4 #CF59BE

Accessibility & contrast

On white

8.14
#862779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#862779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862779
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862779#FFFFFF#000000##FFFFFF
##8627791.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#8C2F4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862779;
/* rgb */ color: rgb(134, 39, 121);
/* oklch */ color: oklch(45.0% 0.160 333.9);
Tailwind
colors: {
  custom: {
    50: '#ac6aa0',
    500: '#862779',
    950: '#000000',
  },
}
SCSS
$custom: #862779;
$custom-light: #ac6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#862779",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 308.211,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.15986,
    "h": 333.9
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#862779
secondary
#55B462
accent
#DE5E4A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862779

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

Preview Lab → · Contrast checker → · Palette generator →

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