#862C82#862C82

#862C82 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 329.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#862C82
RGBrgb(134, 44, 130)
HSLhsl(303, 51%, 35%)
HSVhsv(303, 67%, 53%)
CMYKcmyk(0%, 67.2%, 3%, 47.5%)
CIE-LABlab(34.97, 49.07, -29.44)
CIE-LCHlch(34.97, 57.22, 329.04°)
OKLaboklab(46.03% 0.1385 -0.0811)
OKLCHoklch(46.03% 0.161 329.7)
XYZxyz(14.7614, 8.4825, 21.9746)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C82 #2C8630
analogous
#5D2C86 #862C82 #862C55
triadic
#862C82 #82862C #2C8286
tetradic
#862C82 #865D2C #2C8630 #2C5586
square
#862C82 #865D2C #2C8630 #2C5586
split-complementary
#862C82 #55862C #2C865D
monochromatic
#2A0E29 #581D55 #862C82 #B43BAF #CB61C6

Accessibility & contrast

On white

7.79
#862C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C82
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C82#FFFFFF#000000##FFFFFF
##862C821.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#8B3753
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862c82;
/* rgb */ color: rgb(134, 44, 130);
/* oklch */ color: oklch(46.0% 0.161 329.7);
Tailwind
colors: {
  custom: {
    50: '#ac6da6',
    500: '#862c82',
    950: '#000000',
  },
}
SCSS
$custom: #862c82;
$custom-light: #ac6da6;
$custom-dark: #000000;
JSON
{
  "hex": "#862c82",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 302.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.16051,
    "h": 329.7
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#862C82
secondary
#5CB160
accent
#DA544E
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862C82

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

Preview Lab → · Contrast checker → · Palette generator →

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