#862986#862986

#862986 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.168 H 327.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#862986
RGBrgb(134, 41, 134)
HSLhsl(300, 53%, 34%)
HSVhsv(300, 69%, 53%)
CMYKcmyk(0%, 69.4%, 0%, 47.5%)
CIE-LABlab(34.76, 50.99, -32.26)
CIE-LCHlch(34.76, 60.34, 327.68°)
OKLaboklab(45.95% 0.1422 -0.0892)
OKLCHoklch(45.95% 0.168 327.9)
XYZxyz(14.9273, 8.3765, 23.3802)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862986 #298629
analogous
#582986 #862986 #862958
triadic
#862986 #868629 #298686
tetradic
#862986 #865829 #298629 #295886
square
#862986 #865829 #298629 #295886
split-complementary
#862986 #588629 #298658
monochromatic
#280C28 #571B57 #862986 #B537B5 #CD5CCD

Accessibility & contrast

On white

7.85
#862986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862986
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862986#FFFFFF#000000##FFFFFF
##8629861.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862986;
/* rgb */ color: rgb(134, 41, 134);
/* oklch */ color: oklch(45.9% 0.168 327.9);
Tailwind
colors: {
  custom: {
    50: '#ac6ba9',
    500: '#862986',
    950: '#000000',
  },
}
SCSS
$custom: #862986;
$custom-light: #ac6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#862986",
  "rgb": {
    "r": 134,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.16785,
    "h": 327.9
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#862986
secondary
#58B358
accent
#DD4B4B
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862986

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

Preview Lab → · Contrast checker → · Palette generator →

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