#8B1C8F#8B1C8F

#8B1C8F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.192 H 326.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8B1C8F
RGBrgb(139, 28, 143)
HSLhsl(298, 67%, 34%)
HSVhsv(298, 80%, 56%)
CMYKcmyk(2.8%, 80.4%, 0%, 43.9%)
CIE-LABlab(34.61, 58.06, -37.99)
CIE-LCHlch(34.61, 69.38, 326.80°)
OKLaboklab(46.18% 0.16 -0.1057)
OKLCHoklch(46.18% 0.192 326.6)
XYZxyz(16.0204, 8.3038, 26.7403)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C8F #208F1C
analogous
#511C8F #8B1C8F #8F1C59
triadic
#8B1C8F #8F8B1C #1C8F8B
tetradic
#8B1C8F #8F511C #208F1C #1C598F
square
#8B1C8F #8F511C #208F1C #1C598F
split-complementary
#8B1C8F #598F1C #1C8F51
monochromatic
#280829 #59125C #8B1C8F #BD26C2 #D64ADC

Accessibility & contrast

On white

7.89
#8B1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C8F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C8F#FFFFFF#000000##FFFFFF
##8B1C8F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#8F3156
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1c8f;
/* rgb */ color: rgb(139, 28, 143);
/* oklch */ color: oklch(46.2% 0.192 326.6);
Tailwind
colors: {
  custom: {
    50: '#b167b0',
    500: '#8b1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c8f;
$custom-light: #b167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c8f",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 297.913,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.19175,
    "h": 326.6
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#8B1C8F
secondary
#4DBE49
accent
#EA3E44
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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