#862E82#862E82

#862E82 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.158 H 329.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#862E82
RGBrgb(134, 46, 130)
HSLhsl(303, 49%, 35%)
HSVhsv(303, 66%, 53%)
CMYKcmyk(0%, 65.7%, 3%, 47.5%)
CIE-LABlab(35.27, 48.22, -28.96)
CIE-LCHlch(35.27, 56.25, 329.01°)
OKLaboklab(46.25% 0.1361 -0.0797)
OKLCHoklch(46.25% 0.158 329.6)
XYZxyz(14.8377, 8.6351, 22.0000)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E82 #2E8632
analogous
#5E2E86 #862E82 #862E56
triadic
#862E82 #82862E #2E8286
tetradic
#862E82 #865E2E #2E8632 #2E5686
square
#862E82 #865E2E #2E8632 #2E5686
split-complementary
#862E82 #56862E #2E865E
monochromatic
#2B0F2A #581E56 #862E82 #B43EAE #CA64C5

Accessibility & contrast

On white

7.70
#862E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862E82
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E82#FFFFFF#000000##FFFFFF
##862E821.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#8B3854
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862e82;
/* rgb */ color: rgb(134, 46, 130);
/* oklch */ color: oklch(46.2% 0.158 329.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ea6',
    500: '#862e82',
    950: '#000000',
  },
}
SCSS
$custom: #862e82;
$custom-light: #ac6ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#862e82",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 302.727,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.15773,
    "h": 329.6
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#862E82
secondary
#5FB163
accent
#D8564F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #862E82

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

Preview Lab → · Contrast checker → · Palette generator →

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