#862E86#862E86

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

Color values

HEX#862E86
RGBrgb(134, 46, 134)
HSLhsl(300, 49%, 35%)
HSVhsv(300, 66%, 53%)
CMYKcmyk(0%, 65.7%, 0%, 47.5%)
CIE-LABlab(35.49, 48.94, -31.10)
CIE-LCHlch(35.49, 57.98, 327.57°)
OKLaboklab(46.48% 0.1364 -0.0859)
OKLCHoklch(46.48% 0.161 327.8)
XYZxyz(15.1114, 8.7446, 23.4416)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E86 #2E862E
analogous
#5A2E86 #862E86 #862E5A
triadic
#862E86 #86862E #2E8686
tetradic
#862E86 #865A2E #2E862E #2E5A86
square
#862E86 #865A2E #2E862E #2E5A86
split-complementary
#862E86 #5A862E #2E865A
monochromatic
#2B0F2B #581E58 #862E86 #B43EB4 #CA64CA

Accessibility & contrast

On white

7.64
#862E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#862E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E86
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E86#FFFFFF#000000##FFFFFF
##862E861.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#8A3A56
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862e86;
/* rgb */ color: rgb(134, 46, 134);
/* oklch */ color: oklch(46.5% 0.161 327.8);
Tailwind
colors: {
  custom: {
    50: '#ac6ea9',
    500: '#862e86',
    950: '#000000',
  },
}
SCSS
$custom: #862e86;
$custom-light: #ac6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#862e86",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.16118,
    "h": 327.8
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#862E86
secondary
#5FB15F
accent
#D84F4F
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #862E86

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

Preview Lab → · Contrast checker → · Palette generator →

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