#8B1CAF#8B1CAF

#8B1CAF is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.4% C 0.218 H 315.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8B1CAF
RGBrgb(139, 28, 175)
HSLhsl(285, 72%, 40%)
HSVhsv(285, 84%, 69%)
CMYKcmyk(20.6%, 84%, 0%, 31.4%)
CIE-LABlab(36.77, 63.85, -53.88)
CIE-LCHlch(36.77, 83.55, 319.84°)
OKLaboklab(48.39% 0.1554 -0.1522)
OKLCHoklch(48.39% 0.218 315.6)
XYZxyz(18.7993, 9.4154, 41.3762)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1CAF #40AF1C
analogous
#411CAF #8B1CAF #AF1C8A
triadic
#8B1CAF #AF8B1C #1CAF8B
tetradic
#8B1CAF #AF411C #40AF1C #1C8AAF
square
#8B1CAF #AF411C #40AF1C #1C8AAF
split-complementary
#8B1CAF #8AAF1C #1CAF41
monochromatic
#370B45 #61147A #8B1CAF #B22BDD #C560E6

Accessibility & contrast

On white

7.28
#8B1CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B1CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1CAF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1CAF#FFFFFF#000000##FFFFFF
##8B1CAF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#884268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b1caf;
/* rgb */ color: rgb(139, 28, 175);
/* oklch */ color: oklch(48.4% 0.218 315.6);
Tailwind
colors: {
  custom: {
    50: '#b269c8',
    500: '#8b1caf',
    950: '#000000',
  },
}
SCSS
$custom: #8b1caf;
$custom-light: #b269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1caf",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 175
  },
  "hsl": {
    "h": 285.306,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48387,
    "c": 0.21756,
    "h": 315.6
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#8B1CAF
secondary
#78CA5D
accent
#EF3965
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1CAF

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

Preview Lab → · Contrast checker → · Palette generator →

#8B1CAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva