#861FB4#861FB4

#861FB4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.3% C 0.218 H 312.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#861FB4
RGBrgb(134, 31, 180)
HSLhsl(281, 71%, 41%)
HSVhsv(281, 83%, 71%)
CMYKcmyk(25.6%, 82.8%, 0%, 29.4%)
CIE-LABlab(36.64, 63.18, -57.10)
CIE-LCHlch(36.64, 85.16, 317.89°)
OKLaboklab(48.25% 0.1459 -0.1619)
OKLCHoklch(48.25% 0.218 312)
XYZxyz(18.5582, 9.3441, 43.9972)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861FB4 #4DB41F
analogous
#3C1FB4 #861FB4 #B41F98
triadic
#861FB4 #B4861F #1FB486
tetradic
#861FB4 #B43C1F #4DB41F #1F98B4
square
#861FB4 #B43C1F #4DB41F #1F98B4
split-complementary
#861FB4 #98B41F #1FB43C
monochromatic
#380D4C #5F1680 #861FB4 #A834DC #BF68E5

Accessibility & contrast

On white

7.32
#861FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#861FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861FB4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861FB4#FFFFFF#000000##FFFFFF
##861FB41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#80466C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #861fb4;
/* rgb */ color: rgb(134, 31, 180);
/* oklch */ color: oklch(48.3% 0.218 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae69cb',
    500: '#861fb4',
    950: '#000000',
  },
}
SCSS
$custom: #861fb4;
$custom-light: #ae69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#861fb4",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 281.477,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.21789,
    "h": 312
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#861FB4
secondary
#84CB64
accent
#ED3A72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #861FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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