#862587#862587

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

Color values

HEX#862587
RGBrgb(134, 37, 135)
HSLhsl(299, 57%, 34%)
HSVhsv(299, 73%, 53%)
CMYKcmyk(0.7%, 72.6%, 0%, 47.1%)
CIE-LABlab(34.28, 52.69, -33.63)
CIE-LCHlch(34.28, 62.51, 327.45°)
OKLaboklab(45.62% 0.1465 -0.0932)
OKLCHoklch(45.62% 0.174 327.5)
XYZxyz(14.8660, 8.1418, 23.7055)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862587 #268725
analogous
#552587 #862587 #872557
triadic
#862587 #878625 #258786
tetradic
#862587 #875525 #268725 #255787
square
#862587 #875525 #268725 #255787
split-complementary
#862587 #578725 #258755
monochromatic
#270B27 #561857 #862587 #B632B7 #CF56D1

Accessibility & contrast

On white

7.99
#862587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#862587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862587
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862587#FFFFFF#000000##FFFFFF
##8625871.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498A
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#8A3453
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862587;
/* rgb */ color: rgb(134, 37, 135);
/* oklch */ color: oklch(45.6% 0.174 327.5);
Tailwind
colors: {
  custom: {
    50: '#ac6aaa',
    500: '#862587',
    950: '#000000',
  },
}
SCSS
$custom: #862587;
$custom-light: #ac6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#862587",
  "rgb": {
    "r": 134,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 299.388,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.17361,
    "h": 327.5
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#862587
secondary
#54B553
accent
#E04849
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862587

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

Preview Lab → · Contrast checker → · Palette generator →

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