#862187#862187

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

Color values

HEX#862187
RGBrgb(134, 33, 135)
HSLhsl(299, 61%, 33%)
HSVhsv(299, 76%, 53%)
CMYKcmyk(0.7%, 75.6%, 0%, 47.1%)
CIE-LABlab(33.79, 54.08, -34.41)
CIE-LCHlch(33.79, 64.10, 327.53°)
OKLaboklab(45.27% 0.1504 -0.0954)
OKLCHoklch(45.27% 0.178 327.6)
XYZxyz(14.7483, 7.9064, 23.6663)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862187 #228721
analogous
#532187 #862187 #872155
triadic
#862187 #878621 #218786
tetradic
#862187 #875321 #228721 #215587
square
#862187 #875321 #228721 #215587
split-complementary
#862187 #558721 #218753
monochromatic
#240925 #551556 #862187 #B72DB8 #D34FD4

Accessibility & contrast

On white

8.14
#862187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862187
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862187#FFFFFF#000000##FFFFFF
##8621871.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#8A3152
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862187;
/* rgb */ color: rgb(134, 33, 135);
/* oklch */ color: oklch(45.3% 0.178 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#862187',
    950: '#000000',
  },
}
SCSS
$custom: #862187;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862187",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 299.412,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.17813,
    "h": 327.6
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#862187
secondary
#4EB74D
accent
#E44446
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862187

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

Preview Lab → · Contrast checker → · Palette generator →

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