#862987#862987

#862987 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.169 H 327.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#862987
RGBrgb(134, 41, 135)
HSLhsl(299, 53%, 35%)
HSVhsv(299, 70%, 53%)
CMYKcmyk(0.7%, 69.6%, 0%, 47.1%)
CIE-LABlab(34.81, 51.17, -32.78)
CIE-LCHlch(34.81, 60.77, 327.35°)
OKLaboklab(46.01% 0.1422 -0.0908)
OKLCHoklch(46.01% 0.169 327.4)
XYZxyz(14.9974, 8.4045, 23.7493)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862987 #2A8729
analogous
#572987 #862987 #872959
triadic
#862987 #878629 #298786
tetradic
#862987 #875729 #2A8729 #295987
square
#862987 #875729 #2A8729 #295987
split-complementary
#862987 #598729 #298757
monochromatic
#290C29 #571B58 #862987 #B537B6 #CD5DCE

Accessibility & contrast

On white

7.83
#862987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#862987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862987
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862987#FFFFFF#000000##FFFFFF
##8629871.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#8A3755
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862987;
/* rgb */ color: rgb(134, 41, 135);
/* oklch */ color: oklch(46.0% 0.169 327.4);
Tailwind
colors: {
  custom: {
    50: '#ac6baa',
    500: '#862987',
    950: '#000000',
  },
}
SCSS
$custom: #862987;
$custom-light: #ac6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#862987",
  "rgb": {
    "r": 134,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 299.362,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.1687,
    "h": 327.4
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#862987
secondary
#5AB359
accent
#DD4B4D
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862987

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

Preview Lab → · Contrast checker → · Palette generator →

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