#861F9C#861F9C

#861F9C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.197 H 319.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#861F9C
RGBrgb(134, 31, 156)
HSLhsl(289, 67%, 37%)
HSVhsv(289, 80%, 61%)
CMYKcmyk(14.1%, 80.1%, 0%, 38.8%)
CIE-LABlab(34.90, 58.51, -45.51)
CIE-LCHlch(34.90, 74.13, 322.12°)
OKLaboklab(46.49% 0.1505 -0.1278)
OKLCHoklch(46.49% 0.197 319.7)
XYZxyz(16.3215, 8.4494, 32.2172)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F9C #359C1F
analogous
#481F9C #861F9C #9C1F74
triadic
#861F9C #9C861F #1F9C86
tetradic
#861F9C #9C481F #359C1F #1F749C
square
#861F9C #9C481F #359C1F #1F749C
split-complementary
#861F9C #749C1F #1F9C48
monochromatic
#2E0B36 #5A1569 #861F9C #B229CF #C658DE

Accessibility & contrast

On white

7.81
#861F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#861F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F9C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F9C#FFFFFF#000000##FFFFFF
##861F9C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#2A5599
Tritanopia (blue-blind)
#863B5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #861f9c;
/* rgb */ color: rgb(134, 31, 156);
/* oklch */ color: oklch(46.5% 0.197 319.7);
Tailwind
colors: {
  custom: {
    50: '#ad68ba',
    500: '#861f9c',
    950: '#000000',
  },
}
SCSS
$custom: #861f9c;
$custom-light: #ad68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#861f9c",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 289.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.19746,
    "h": 319.7
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#861F9C
secondary
#68C155
accent
#EA3E5C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #861F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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