#8B188A#8B188A

#8B188A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 328.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8B188A
RGBrgb(139, 24, 138)
HSLhsl(301, 71%, 32%)
HSVhsv(301, 83%, 55%)
CMYKcmyk(0%, 82.7%, 0.7%, 45.5%)
CIE-LABlab(33.94, 58.28, -35.98)
CIE-LCHlch(33.94, 68.49, 328.31°)
OKLaboklab(45.6% 0.1633 -0.0998)
OKLCHoklch(45.6% 0.191 328.6)
XYZxyz(15.5614, 7.9784, 24.7602)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B188A #188B19
analogous
#53188B #8B188A #8B1851
triadic
#8B188A #8A8B18 #188A8B
tetradic
#8B188A #8B5318 #188B19 #18518B
square
#8B188A #8B5318 #188B19 #18518B
split-complementary
#8B188A #518B18 #188B53
monochromatic
#230622 #570F56 #8B188A #BF21BE #DE3FDD

Accessibility & contrast

On white

8.09
#8B188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B188A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B188A#FFFFFF#000000##FFFFFF
##8B188A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#902D52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b188a;
/* rgb */ color: rgb(139, 24, 138);
/* oklch */ color: oklch(45.6% 0.191 328.6);
Tailwind
colors: {
  custom: {
    50: '#b166ad',
    500: '#8b188a',
    950: '#000000',
  },
}
SCSS
$custom: #8b188a;
$custom-light: #b166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b188a",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 300.522,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.19133,
    "h": 328.6
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#8B188A
secondary
#40BE42
accent
#ED3C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B188A

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

Preview Lab → · Contrast checker → · Palette generator →

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