#861B8F#861B8F

#861B8F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.190 H 324.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#861B8F
RGBrgb(134, 27, 143)
HSLhsl(295, 68%, 33%)
HSVhsv(295, 81%, 56%)
CMYKcmyk(6.3%, 81.1%, 0%, 43.9%)
CIE-LABlab(33.64, 57.32, -39.59)
CIE-LCHlch(33.64, 69.66, 325.37°)
OKLaboklab(45.32% 0.1551 -0.1105)
OKLCHoklch(45.32% 0.19 324.5)
XYZxyz(15.1810, 7.8364, 26.6942)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861B8F #248F1B
analogous
#4C1B8F #861B8F #8F1B5E
triadic
#861B8F #8F861B #1B8F86
tetradic
#861B8F #8F4C1B #248F1B #1B5E8F
square
#861B8F #8F4C1B #248F1B #1B5E8F
split-complementary
#861B8F #5E8F1B #1B8F4C
monochromatic
#260828 #56115C #861B8F #B625C2 #D148DC

Accessibility & contrast

On white

8.18
#861B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#861B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861B8F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861B8F#FFFFFF#000000##FFFFFF
##861B8F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#893256
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #861b8f;
/* rgb */ color: rgb(134, 27, 143);
/* oklch */ color: oklch(45.3% 0.190 324.5);
Tailwind
colors: {
  custom: {
    50: '#ad66b0',
    500: '#861b8f',
    950: '#000000',
  },
}
SCSS
$custom: #861b8f;
$custom-light: #ad66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#861b8f",
  "rgb": {
    "r": 134,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 295.345,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.19045,
    "h": 324.5
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#861B8F
secondary
#51BE48
accent
#EB3D4A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #861B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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