#862196#862196

#862196 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 321.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#862196
RGBrgb(134, 33, 150)
HSLhsl(292, 64%, 36%)
HSVhsv(292, 78%, 59%)
CMYKcmyk(10.7%, 78%, 0%, 41.2%)
CIE-LABlab(34.72, 56.77, -42.15)
CIE-LCHlch(34.72, 70.70, 323.40°)
OKLaboklab(46.23% 0.1495 -0.118)
OKLCHoklch(46.23% 0.191 321.7)
XYZxyz(15.8798, 8.3590, 29.6253)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862196 #319621
analogous
#4B2196 #862196 #96216B
triadic
#862196 #968621 #219686
tetradic
#862196 #964B21 #319621 #216B96
square
#862196 #964B21 #319621 #216B96
split-complementary
#862196 #6B9621 #21964B
monochromatic
#2C0B32 #591664 #862196 #B32CC8 #C857DA

Accessibility & contrast

On white

7.86
#862196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862196
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862196#FFFFFF#000000##FFFFFF
##8621961.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#87395B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862196;
/* rgb */ color: rgb(134, 33, 150);
/* oklch */ color: oklch(46.2% 0.191 321.7);
Tailwind
colors: {
  custom: {
    50: '#ad69b5',
    500: '#862196',
    950: '#000000',
  },
}
SCSS
$custom: #862196;
$custom-light: #ad69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#862196",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 291.795,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46233,
    "c": 0.1905,
    "h": 321.7
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#862196
secondary
#63BE55
accent
#E74158
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862196

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

Preview Lab → · Contrast checker → · Palette generator →

#862196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva