#8B108D#8B108D

#8B108D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.199 H 327.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8B108D
RGBrgb(139, 16, 141)
HSLhsl(299, 80%, 31%)
HSVhsv(299, 89%, 55%)
CMYKcmyk(1.4%, 88.7%, 0%, 44.7%)
CIE-LABlab(33.53, 60.51, -38.48)
CIE-LCHlch(33.53, 71.71, 327.54°)
OKLaboklab(45.37% 0.168 -0.107)
OKLCHoklch(45.37% 0.199 327.5)
XYZxyz(15.6402, 7.7838, 25.8728)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B108D #128D10
analogous
#4C108D #8B108D #8D1050
triadic
#8B108D #8D8B10 #108D8B
tetradic
#8B108D #8D4C10 #128D10 #10508D
square
#8B108D #8D4C10 #128D10 #10508D
split-complementary
#8B108D #508D10 #108D4C
monochromatic
#1F041F #550A56 #8B108D #C116C4 #E530E7

Accessibility & contrast

On white

8.21
#8B108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B108D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B108D#FFFFFF#000000##FFFFFF
##8B108D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#8F2B53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b108d;
/* rgb */ color: rgb(139, 16, 141);
/* oklch */ color: oklch(45.4% 0.199 327.5);
Tailwind
colors: {
  custom: {
    50: '#b164af',
    500: '#8b108d',
    950: '#000000',
  },
}
SCSS
$custom: #8b108d;
$custom-light: #b164af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b108d",
  "rgb": {
    "r": 139,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 299.04,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.19917,
    "h": 327.5
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#8B108D
secondary
#39C237
accent
#F63235
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B108D

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

Preview Lab → · Contrast checker → · Palette generator →

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