#862178#862178

#862178 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.166 H 334.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#862178
RGBrgb(134, 33, 120)
HSLhsl(308, 60%, 33%)
HSVhsv(308, 75%, 53%)
CMYKcmyk(0%, 75.4%, 10.4%, 47.5%)
CIE-LABlab(32.95, 51.59, -26.36)
CIE-LCHlch(32.95, 57.94, 332.94°)
OKLaboklab(44.4% 0.15 -0.0722)
OKLCHoklch(44.4% 0.166 334.3)
XYZxyz(13.7657, 7.5133, 18.4909)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862178 #21862F
analogous
#612186 #862178 #862145
triadic
#862178 #788621 #217886
tetradic
#862178 #866121 #21862F #214586
square
#862178 #866121 #21862F #214586
split-complementary
#862178 #458621 #218661
monochromatic
#240920 #55154C #862178 #B72DA4 #D34EC1

Accessibility & contrast

On white

8.39
#862178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#862178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862178
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862178#FFFFFF#000000##FFFFFF
##8621781.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#445376
Tritanopia (blue-blind)
#8D2A4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862178;
/* rgb */ color: rgb(134, 33, 120);
/* oklch */ color: oklch(44.4% 0.166 334.3);
Tailwind
colors: {
  custom: {
    50: '#ad679f',
    500: '#862178',
    950: '#000000',
  },
}
SCSS
$custom: #862178;
$custom-light: #ad679f;
$custom-dark: #000000;
JSON
{
  "hex": "#862178",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 308.317,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.16641,
    "h": 334.3
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#862178
secondary
#4CB75B
accent
#E45A44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862178

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

Preview Lab → · Contrast checker → · Palette generator →

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