#862A86#862A86

#862A86 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 327.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#862A86
RGBrgb(134, 42, 134)
HSLhsl(300, 52%, 35%)
HSVhsv(300, 69%, 53%)
CMYKcmyk(0%, 68.7%, 0%, 47.5%)
CIE-LABlab(34.90, 50.60, -32.03)
CIE-LCHlch(34.90, 59.88, 327.66°)
OKLaboklab(46.05% 0.1411 -0.0886)
OKLCHoklch(46.05% 0.167 327.9)
XYZxyz(14.9624, 8.4465, 23.3919)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A86 #2A862A
analogous
#582A86 #862A86 #862A58
triadic
#862A86 #86862A #2A8686
tetradic
#862A86 #86582A #2A862A #2A5886
square
#862A86 #86582A #2A862A #2A5886
split-complementary
#862A86 #58862A #2A8658
monochromatic
#290D29 #571B57 #862A86 #B539B5 #CD5ECD

Accessibility & contrast

On white

7.81
#862A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#862A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A86
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A86#FFFFFF#000000##FFFFFF
##862A861.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#8A3754
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862a86;
/* rgb */ color: rgb(134, 42, 134);
/* oklch */ color: oklch(46.0% 0.167 327.9);
Tailwind
colors: {
  custom: {
    50: '#ac6ca9',
    500: '#862a86',
    950: '#000000',
  },
}
SCSS
$custom: #862a86;
$custom-light: #ac6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#862a86",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.16656,
    "h": 327.9
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#862A86
secondary
#5AB25A
accent
#DC4C4C
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862A86

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

Preview Lab → · Contrast checker → · Palette generator →

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