#862188#862188

#862188 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.179 H 327.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#862188
RGBrgb(134, 33, 136)
HSLhsl(299, 61%, 33%)
HSVhsv(299, 76%, 53%)
CMYKcmyk(1.5%, 75.7%, 0%, 46.7%)
CIE-LABlab(33.85, 54.26, -34.94)
CIE-LCHlch(33.85, 64.53, 327.22°)
OKLaboklab(45.33% 0.1504 -0.097)
OKLCHoklch(45.33% 0.179 327.2)
XYZxyz(14.8191, 7.9347, 24.0388)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862188 #238821
analogous
#522188 #862188 #882156
triadic
#862188 #888621 #218886
tetradic
#862188 #885221 #238821 #215688
square
#862188 #885221 #238821 #215688
split-complementary
#862188 #568821 #218852
monochromatic
#250925 #551557 #862188 #B72DB9 #D24FD4

Accessibility & contrast

On white

8.12
#862188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#862188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862188
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862188#FFFFFF#000000##FFFFFF
##8621881.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478B
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#8A3253
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862188;
/* rgb */ color: rgb(134, 33, 136);
/* oklch */ color: oklch(45.3% 0.179 327.2);
Tailwind
colors: {
  custom: {
    50: '#ad68ab',
    500: '#862188',
    950: '#000000',
  },
}
SCSS
$custom: #862188;
$custom-light: #ad68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#862188",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 298.835,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.17894,
    "h": 327.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#862188
secondary
#4FB84D
accent
#E44447
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862188

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

Preview Lab → · Contrast checker → · Palette generator →

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