#8B1C9F#8B1C9F

#8B1C9F is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.204 H 320.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8B1C9F
RGBrgb(139, 28, 159)
HSLhsl(291, 70%, 37%)
HSVhsv(291, 82%, 62%)
CMYKcmyk(12.6%, 82.4%, 0%, 37.6%)
CIE-LABlab(35.64, 60.87, -46.09)
CIE-LCHlch(35.64, 76.36, 322.87°)
OKLaboklab(47.24% 0.1584 -0.1294)
OKLCHoklch(47.24% 0.204 320.8)
XYZxyz(17.3200, 8.8236, 33.5850)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C9F #309F1C
analogous
#4A1C9F #8B1C9F #9F1C72
triadic
#8B1C9F #9F8B1C #1C9F8B
tetradic
#8B1C9F #9F4A1C #309F1C #1C729F
square
#8B1C9F #9F4A1C #309F1C #1C729F
split-complementary
#8B1C9F #729F1C #1C9F4A
monochromatic
#300A37 #5E136B #8B1C9F #B825D3 #CC54E1

Accessibility & contrast

On white

7.60
#8B1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C9F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C9F#FFFFFF#000000##FFFFFF
##8B1C9F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#2D589C
Tritanopia (blue-blind)
#8C3A5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b1c9f;
/* rgb */ color: rgb(139, 28, 159);
/* oklch */ color: oklch(47.2% 0.204 320.8);
Tailwind
colors: {
  custom: {
    50: '#b168bc',
    500: '#8b1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c9f;
$custom-light: #b168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c9f",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 290.84,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.20448,
    "h": 320.8
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#8B1C9F
secondary
#64C453
accent
#ED3B56
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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