#862198#862198

#862198 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.192 H 321.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#862198
RGBrgb(134, 33, 152)
HSLhsl(291, 64%, 36%)
HSVhsv(291, 78%, 60%)
CMYKcmyk(11.8%, 78.3%, 0%, 40.4%)
CIE-LABlab(34.85, 57.14, -43.16)
CIE-LCHlch(34.85, 71.61, 322.93°)
OKLaboklab(46.37% 0.1493 -0.121)
OKLCHoklch(46.37% 0.192 321)
XYZxyz(16.0422, 8.4239, 30.4807)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862198 #339821
analogous
#4B2198 #862198 #98216F
triadic
#862198 #988621 #219886
tetradic
#862198 #984B21 #339821 #216F98
square
#862198 #984B21 #339821 #216F98
split-complementary
#862198 #6F9821 #21984B
monochromatic
#2D0B33 #5A1666 #862198 #B22CCA #C759DB

Accessibility & contrast

On white

7.82
#862198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#862198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862198
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862198#FFFFFF#000000##FFFFFF
##8621981.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#305595
Tritanopia (blue-blind)
#873A5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862198;
/* rgb */ color: rgb(134, 33, 152);
/* oklch */ color: oklch(46.4% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#ad69b7',
    500: '#862198',
    950: '#000000',
  },
}
SCSS
$custom: #862198;
$custom-light: #ad69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#862198",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 290.924,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.19219,
    "h": 321
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#862198
secondary
#66BF56
accent
#E7405A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862198

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

Preview Lab → · Contrast checker → · Palette generator →

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