#862182#862182

#862182 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.174 H 329.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#862182
RGBrgb(134, 33, 130)
HSLhsl(302, 60%, 33%)
HSVhsv(302, 75%, 53%)
CMYKcmyk(0%, 75.4%, 3%, 47.5%)
CIE-LABlab(33.50, 53.23, -31.76)
CIE-LCHlch(33.50, 61.99, 329.18°)
OKLaboklab(44.97% 0.1504 -0.0877)
OKLCHoklch(44.97% 0.174 329.7)
XYZxyz(14.4046, 7.7689, 21.8556)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862182 #218625
analogous
#572186 #862182 #862150
triadic
#862182 #828621 #218286
tetradic
#862182 #865721 #218625 #215086
square
#862182 #865721 #218625 #215086
split-complementary
#862182 #508621 #218657
monochromatic
#240923 #551552 #862182 #B72DB2 #D34ECE

Accessibility & contrast

On white

8.22
#862182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#862182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862182
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862182#FFFFFF#000000##FFFFFF
##8621821.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#8B2F50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862182;
/* rgb */ color: rgb(134, 33, 130);
/* oklch */ color: oklch(45.0% 0.174 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad68a7',
    500: '#862182',
    950: '#000000',
  },
}
SCSS
$custom: #862182;
$custom-light: #ad68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#862182",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 302.376,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.17413,
    "h": 329.7
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#862182
secondary
#4CB750
accent
#E44A44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862182

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

Preview Lab → · Contrast checker → · Palette generator →

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