#862186#862186

#862186 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 328.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#862186
RGBrgb(134, 33, 134)
HSLhsl(300, 60%, 33%)
HSVhsv(300, 75%, 53%)
CMYKcmyk(0%, 75.4%, 0%, 47.5%)
CIE-LABlab(33.73, 53.91, -33.88)
CIE-LCHlch(33.73, 63.67, 327.85°)
OKLaboklab(45.21% 0.1504 -0.0939)
OKLCHoklch(45.21% 0.177 328)
XYZxyz(14.6783, 7.8783, 23.2972)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862186 #218621
analogous
#532186 #862186 #862153
triadic
#862186 #868621 #218686
tetradic
#862186 #865321 #218621 #215386
square
#862186 #865321 #218621 #215386
split-complementary
#862186 #538621 #218653
monochromatic
#240924 #551555 #862186 #B72DB7 #D34ED3

Accessibility & contrast

On white

8.15
#862186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#862186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862186
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862186#FFFFFF#000000##FFFFFF
##8621861.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#8A3152
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862186;
/* rgb */ color: rgb(134, 33, 134);
/* oklch */ color: oklch(45.2% 0.177 328.0);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#862186',
    950: '#000000',
  },
}
SCSS
$custom: #862186;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862186",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.17732,
    "h": 328
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#862186
secondary
#4CB74C
accent
#E44444
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862186

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

Preview Lab → · Contrast checker → · Palette generator →

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