#8B188D#8B188D

#8B188D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 327.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8B188D
RGBrgb(139, 24, 141)
HSLhsl(299, 71%, 32%)
HSVhsv(299, 83%, 55%)
CMYKcmyk(1.4%, 83%, 0%, 44.7%)
CIE-LABlab(34.12, 58.78, -37.54)
CIE-LCHlch(34.12, 69.74, 327.44°)
OKLaboklab(45.79% 0.1631 -0.1043)
OKLCHoklch(45.79% 0.194 327.4)
XYZxyz(15.7816, 8.0665, 25.9199)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B188D #1A8D18
analogous
#50188D #8B188D #8D1855
triadic
#8B188D #8D8B18 #188D8B
tetradic
#8B188D #8D5018 #1A8D18 #18558D
square
#8B188D #8D5018 #1A8D18 #18558D
split-complementary
#8B188D #558D18 #188D50
monochromatic
#240624 #570F59 #8B188D #BF21C1 #DC41DF

Accessibility & contrast

On white

8.04
#8B188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B188D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B188D#FFFFFF#000000##FFFFFF
##8B188D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#8F2E54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b188d;
/* rgb */ color: rgb(139, 24, 141);
/* oklch */ color: oklch(45.8% 0.194 327.4);
Tailwind
colors: {
  custom: {
    50: '#b166af',
    500: '#8b188d',
    950: '#000000',
  },
}
SCSS
$custom: #8b188d;
$custom-light: #b166af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b188d",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 298.974,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.19361,
    "h": 327.4
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#8B188D
secondary
#44BF42
accent
#EE3A3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B188D

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

Preview Lab → · Contrast checker → · Palette generator →

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