#861A8F#861A8F

#861A8F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.191 H 324.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#861A8F
RGBrgb(134, 26, 143)
HSLhsl(295, 69%, 33%)
HSVhsv(295, 82%, 56%)
CMYKcmyk(6.3%, 81.8%, 0%, 43.9%)
CIE-LABlab(33.54, 57.60, -39.74)
CIE-LCHlch(33.54, 69.98, 325.39°)
OKLaboklab(45.26% 0.1559 -0.1109)
OKLCHoklch(45.26% 0.191 324.6)
XYZxyz(15.1584, 7.7913, 26.6867)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A8F #238F1A
analogous
#4C1A8F #861A8F #8F1A5D
triadic
#861A8F #8F861A #1A8F86
tetradic
#861A8F #8F4C1A #238F1A #1A5D8F
square
#861A8F #8F4C1A #238F1A #1A5D8F
split-complementary
#861A8F #5D8F1A #1A8F4C
monochromatic
#250727 #55115B #861A8F #B723C3 #D246DD

Accessibility & contrast

On white

8.21
#861A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#861A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861A8F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861A8F#FFFFFF#000000##FFFFFF
##861A8F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#893255
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861a8f;
/* rgb */ color: rgb(134, 26, 143);
/* oklch */ color: oklch(45.3% 0.191 324.6);
Tailwind
colors: {
  custom: {
    50: '#ad66b0',
    500: '#861a8f',
    950: '#000000',
  },
}
SCSS
$custom: #861a8f;
$custom-light: #ad66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861a8f",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 295.385,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.19132,
    "h": 324.6
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#861A8F
secondary
#4FBF46
accent
#EC3C49
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #861A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#861A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva