#861F7E#861F7E

#861F7E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.173 H 331.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#861F7E
RGBrgb(134, 31, 126)
HSLhsl(305, 62%, 32%)
HSVhsv(305, 77%, 53%)
CMYKcmyk(0%, 76.9%, 6%, 47.5%)
CIE-LABlab(33.04, 53.23, -29.99)
CIE-LCHlch(33.04, 61.09, 330.60°)
OKLaboklab(44.57% 0.1522 -0.0826)
OKLCHoklch(44.57% 0.173 331.5)
XYZxyz(14.0874, 7.5558, 20.4511)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F7E #1F8627
analogous
#5A1F86 #861F7E #861F4B
triadic
#861F7E #7E861F #1F7E86
tetradic
#861F7E #865A1F #1F8627 #1F4B86
square
#861F7E #865A1F #1F8627 #1F4B86
split-complementary
#861F7E #4B861F #1F865A
monochromatic
#230821 #54144F #861F7E #B82AAD #D54ACA

Accessibility & contrast

On white

8.36
#861F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#861F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F7E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F7E#FFFFFF#000000##FFFFFF
##861F7E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#8C2C4D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #861f7e;
/* rgb */ color: rgb(134, 31, 126);
/* oklch */ color: oklch(44.6% 0.173 331.5);
Tailwind
colors: {
  custom: {
    50: '#ad67a4',
    500: '#861f7e',
    950: '#000000',
  },
}
SCSS
$custom: #861f7e;
$custom-light: #ad67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#861f7e",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 304.66,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.17318,
    "h": 331.5
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#861F7E
secondary
#49B852
accent
#E54F42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #861F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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