#861F7C#861F7C

#861F7C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.172 H 332.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#861F7C
RGBrgb(134, 31, 124)
HSLhsl(306, 62%, 32%)
HSVhsv(306, 77%, 53%)
CMYKcmyk(0%, 76.9%, 7.5%, 47.5%)
CIE-LABlab(32.93, 52.90, -28.91)
CIE-LCHlch(32.93, 60.28, 331.35°)
OKLaboklab(44.45% 0.1522 -0.0795)
OKLCHoklch(44.45% 0.172 332.4)
XYZxyz(13.9596, 7.5047, 19.7782)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F7C #1F8629
analogous
#5C1F86 #861F7C #861F49
triadic
#861F7C #7C861F #1F7C86
tetradic
#861F7C #865C1F #1F8629 #1F4986
square
#861F7C #865C1F #1F8629 #1F4986
split-complementary
#861F7C #49861F #1F865C
monochromatic
#230820 #54144E #861F7C #B82AAA #D54AC8

Accessibility & contrast

On white

8.40
#861F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#861F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F7C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F7C#FFFFFF#000000##FFFFFF
##861F7C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447F
Deuteranopia (green-blind)
#41537A
Tritanopia (blue-blind)
#8C2B4C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #861f7c;
/* rgb */ color: rgb(134, 31, 124);
/* oklch */ color: oklch(44.5% 0.172 332.4);
Tailwind
colors: {
  custom: {
    50: '#ad67a2',
    500: '#861f7c',
    950: '#000000',
  },
}
SCSS
$custom: #861f7c;
$custom-light: #ad67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#861f7c",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 305.825,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.17165,
    "h": 332.4
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#861F7C
secondary
#49B854
accent
#E55242
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #861F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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