#8B1CA1#8B1CA1

#8B1CA1 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.206 H 320.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8B1CA1
RGBrgb(139, 28, 161)
HSLhsl(290, 70%, 37%)
HSVhsv(290, 83%, 63%)
CMYKcmyk(13.7%, 82.6%, 0%, 36.9%)
CIE-LABlab(35.78, 61.24, -47.08)
CIE-LCHlch(35.78, 77.25, 322.44°)
OKLaboklab(47.38% 0.1581 -0.1323)
OKLCHoklch(47.38% 0.206 320.1)
XYZxyz(17.4949, 8.8936, 34.5064)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1CA1 #32A11C
analogous
#491CA1 #8B1CA1 #A11C75
triadic
#8B1CA1 #A18B1C #1CA18B
tetradic
#8B1CA1 #A1491C #32A11C #1C75A1
square
#8B1CA1 #A1491C #32A11C #1C75A1
split-complementary
#8B1CA1 #75A11C #1CA149
monochromatic
#310A39 #5E136D #8B1CA1 #B825D5 #CA56E2

Accessibility & contrast

On white

7.56
#8B1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1CA1
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1CA1#FFFFFF#000000##FFFFFF
##8B1CA11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#2A589E
Tritanopia (blue-blind)
#8B3B60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1ca1;
/* rgb */ color: rgb(139, 28, 161);
/* oklch */ color: oklch(47.4% 0.206 320.1);
Tailwind
colors: {
  custom: {
    50: '#b168bd',
    500: '#8b1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ca1;
$custom-light: #b168bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ca1",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 290.075,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.2061,
    "h": 320.1
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#8B1CA1
secondary
#67C554
accent
#ED3B58
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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