#861F8D#861F8D

#861F8D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.185 H 325.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#861F8D
RGBrgb(134, 31, 141)
HSLhsl(296, 64%, 34%)
HSVhsv(296, 78%, 55%)
CMYKcmyk(5%, 78%, 0%, 44.7%)
CIE-LABlab(33.93, 55.78, -37.90)
CIE-LCHlch(33.93, 67.44, 325.80°)
OKLaboklab(45.49% 0.152 -0.1056)
OKLCHoklch(45.49% 0.185 325.2)
XYZxyz(15.1289, 7.9724, 25.9361)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F8D #268D1F
analogous
#4F1F8D #861F8D #8D1F5D
triadic
#861F8D #8D861F #1F8D86
tetradic
#861F8D #8D4F1F #268D1F #1F5D8D
square
#861F8D #8D4F1F #268D1F #1F5D8D
split-complementary
#861F8D #5D8D1F #1F8D4F
monochromatic
#270929 #56145B #861F8D #B62ABF #CF4ED8

Accessibility & contrast

On white

8.09
#861F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#861F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F8D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F8D#FFFFFF#000000##FFFFFF
##861F8D1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#893355
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #861f8d;
/* rgb */ color: rgb(134, 31, 141);
/* oklch */ color: oklch(45.5% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#ad67af',
    500: '#861f8d',
    950: '#000000',
  },
}
SCSS
$custom: #861f8d;
$custom-light: #ad67af;
$custom-dark: #000000;
JSON
{
  "hex": "#861f8d",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 296.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.18507,
    "h": 325.2
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#861F8D
secondary
#54BB4D
accent
#E7414B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #861F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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