#862586#862586

#862586 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.173 H 328.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#862586
RGBrgb(134, 37, 134)
HSLhsl(300, 57%, 34%)
HSVhsv(300, 72%, 53%)
CMYKcmyk(0%, 72.4%, 0%, 47.5%)
CIE-LABlab(34.22, 52.51, -33.10)
CIE-LCHlch(34.22, 62.08, 327.77°)
OKLaboklab(45.56% 0.1465 -0.0917)
OKLCHoklch(45.56% 0.173 328)
XYZxyz(14.7960, 8.1138, 23.3364)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862586 #258625
analogous
#552586 #862586 #862555
triadic
#862586 #868625 #258686
tetradic
#862586 #865525 #258625 #255586
square
#862586 #865525 #258625 #255586
split-complementary
#862586 #558625 #258655
monochromatic
#260B26 #561856 #862586 #B632B6 #D055D0

Accessibility & contrast

On white

8.01
#862586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#862586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##862586#FFFFFF#000000##FFFFFF
##8625861.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)
#144889
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#8A3353
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862586;
/* rgb */ color: rgb(134, 37, 134);
/* oklch */ color: oklch(45.6% 0.173 328.0);
Tailwind
colors: {
  custom: {
    50: '#ac6aa9',
    500: '#862586',
    950: '#000000',
  },
}
SCSS
$custom: #862586;
$custom-light: #ac6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#862586",
  "rgb": {
    "r": 134,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.17279,
    "h": 328
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#862586
secondary
#52B452
accent
#E04848
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862586

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

Preview Lab → · Contrast checker → · Palette generator →

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