#862A79#862A79

#862A79 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.156 H 334.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#862A79
RGBrgb(134, 42, 121)
HSLhsl(308, 52%, 35%)
HSVhsv(308, 69%, 53%)
CMYKcmyk(0%, 68.7%, 9.7%, 47.5%)
CIE-LABlab(34.20, 48.36, -25.02)
CIE-LCHlch(34.20, 54.45, 332.64°)
OKLaboklab(45.32% 0.1401 -0.0684)
OKLCHoklch(45.32% 0.156 334)
XYZxyz(14.1108, 8.1059, 18.9069)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A79 #2A8637
analogous
#652A86 #862A79 #862A4B
triadic
#862A79 #79862A #2A7986
tetradic
#862A79 #86652A #2A8637 #2A4B86
square
#862A79 #86652A #2A8637 #2A4B86
split-complementary
#862A79 #4B862A #2A8665
monochromatic
#290D25 #571B4F #862A79 #B539A3 #CD5EBD

Accessibility & contrast

On white

8.01
#862A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#862A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A79
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A79#FFFFFF#000000##FFFFFF
##862A791.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#485577
Tritanopia (blue-blind)
#8C314E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862a79;
/* rgb */ color: rgb(134, 42, 121);
/* oklch */ color: oklch(45.3% 0.156 334.0);
Tailwind
colors: {
  custom: {
    50: '#ac6ba0',
    500: '#862a79',
    950: '#000000',
  },
}
SCSS
$custom: #862a79;
$custom-light: #ac6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#862a79",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 308.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.15587,
    "h": 334
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#862A79
secondary
#5AB266
accent
#DC604C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A79

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

Preview Lab → · Contrast checker → · Palette generator →

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