#862C96#862C96

#862C96 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.178 H 321.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#862C96
RGBrgb(134, 44, 150)
HSLhsl(291, 55%, 38%)
HSVhsv(291, 71%, 59%)
CMYKcmyk(10.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(36.12, 52.76, -39.90)
CIE-LCHlch(36.12, 66.15, 322.90°)
OKLaboklab(47.23% 0.1388 -0.1115)
OKLCHoklch(47.23% 0.178 321.2)
XYZxyz(16.2366, 9.0726, 29.7442)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C96 #3C962C
analogous
#512C96 #862C96 #962C71
triadic
#862C96 #96862C #2C9686
tetradic
#862C96 #96512C #3C962C #2C7196
square
#862C96 #96512C #3C962C #2C7196
split-complementary
#862C96 #71962C #2C9651
monochromatic
#311037 #5C1E67 #862C96 #B03AC5 #C369D3

Accessibility & contrast

On white

7.46
#862C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#862C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C96
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C96#FFFFFF#000000##FFFFFF
##862C961.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F99
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#873F5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862c96;
/* rgb */ color: rgb(134, 44, 150);
/* oklch */ color: oklch(47.2% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#ac6db5',
    500: '#862c96',
    950: '#000000',
  },
}
SCSS
$custom: #862c96;
$custom-light: #ac6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#862c96",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 290.943,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47233,
    "c": 0.17804,
    "h": 321.2
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#862C96
secondary
#71BA64
accent
#DE4A60
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862C96

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

Preview Lab → · Contrast checker → · Palette generator →

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