#861FB2#861FB2

#861FB2 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.216 H 312.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#861FB2
RGBrgb(134, 31, 178)
HSLhsl(282, 70%, 41%)
HSVhsv(282, 83%, 70%)
CMYKcmyk(24.7%, 82.6%, 0%, 30.2%)
CIE-LABlab(36.49, 62.78, -56.16)
CIE-LCHlch(36.49, 84.23, 318.18°)
OKLaboklab(48.1% 0.1463 -0.1591)
OKLCHoklch(48.1% 0.216 312.6)
XYZxyz(18.3559, 9.2632, 42.9319)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861FB2 #4BB21F
analogous
#3C1FB2 #861FB2 #B21F94
triadic
#861FB2 #B2861F #1FB286
tetradic
#861FB2 #B23C1F #4BB21F #1F94B2
square
#861FB2 #B23C1F #4BB21F #1F94B2
split-complementary
#861FB2 #94B21F #1FB23C
monochromatic
#380D4A #5F167E #861FB2 #A933DB #BF67E5

Accessibility & contrast

On white

7.36
#861FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#861FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861FB2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861FB2#FFFFFF#000000##FFFFFF
##861FB21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#81456B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #861fb2;
/* rgb */ color: rgb(134, 31, 178);
/* oklch */ color: oklch(48.1% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#ae69ca',
    500: '#861fb2',
    950: '#000000',
  },
}
SCSS
$custom: #861fb2;
$custom-light: #ae69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#861fb2",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 282.041,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.481,
    "c": 0.21617,
    "h": 312.6
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#861FB2
secondary
#82CA63
accent
#ED3B70
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #861FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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