#862D86#862D86

#862D86 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 327.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#862D86
RGBrgb(134, 45, 134)
HSLhsl(300, 50%, 35%)
HSVhsv(300, 66%, 53%)
CMYKcmyk(0%, 66.4%, 0%, 47.5%)
CIE-LABlab(35.34, 49.36, -31.34)
CIE-LCHlch(35.34, 58.47, 327.59°)
OKLaboklab(46.37% 0.1376 -0.0866)
OKLCHoklch(46.37% 0.163 327.8)
XYZxyz(15.0728, 8.6674, 23.4287)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D86 #2D862D
analogous
#592D86 #862D86 #862D59
triadic
#862D86 #86862D #2D8686
tetradic
#862D86 #86592D #2D862D #2D5986
square
#862D86 #86592D #2D862D #2D5986
split-complementary
#862D86 #59862D #2D8659
monochromatic
#2A0E2A #581E58 #862D86 #B43CB4 #CB63CB

Accessibility & contrast

On white

7.68
#862D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#862D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D86
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D86#FFFFFF#000000##FFFFFF
##862D861.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#435784
Tritanopia (blue-blind)
#8A3955
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862d86;
/* rgb */ color: rgb(134, 45, 134);
/* oklch */ color: oklch(46.4% 0.163 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac6da9',
    500: '#862d86',
    950: '#000000',
  },
}
SCSS
$custom: #862d86;
$custom-light: #ac6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#862d86",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.16256,
    "h": 327.8
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#862D86
secondary
#5EB15E
accent
#D94F4F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #862D86

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

Preview Lab → · Contrast checker → · Palette generator →

#862D86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva