#862087#862087

#862087 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 327.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#862087
RGBrgb(134, 32, 135)
HSLhsl(299, 62%, 33%)
HSVhsv(299, 76%, 53%)
CMYKcmyk(0.7%, 76.3%, 0%, 47.1%)
CIE-LABlab(33.67, 54.41, -34.59)
CIE-LCHlch(33.67, 64.48, 327.55°)
OKLaboklab(45.19% 0.1513 -0.0959)
OKLCHoklch(45.19% 0.179 327.6)
XYZxyz(14.7210, 7.8517, 23.6571)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862087 #218720
analogous
#522087 #862087 #872055
triadic
#862087 #878620 #208786
tetradic
#862087 #875220 #218720 #205587
square
#862087 #875220 #218720 #205587
split-complementary
#862087 #558720 #208752
monochromatic
#240924 #551456 #862087 #B72CB8 #D34DD5

Accessibility & contrast

On white

8.17
#862087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#862087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862087
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862087#FFFFFF#000000##FFFFFF
##8620871.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#8A3152
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862087;
/* rgb */ color: rgb(134, 32, 135);
/* oklch */ color: oklch(45.2% 0.179 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#862087',
    950: '#000000',
  },
}
SCSS
$custom: #862087;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862087",
  "rgb": {
    "r": 134,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 299.417,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.17919,
    "h": 327.6
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#862087
secondary
#4CB84B
accent
#E54345
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862087

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

Preview Lab → · Contrast checker → · Palette generator →

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