#8B188F#8B188F

#8B188F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.195 H 326.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8B188F
RGBrgb(139, 24, 143)
HSLhsl(298, 71%, 33%)
HSVhsv(298, 83%, 56%)
CMYKcmyk(2.8%, 83.2%, 0%, 43.9%)
CIE-LABlab(34.25, 59.11, -38.57)
CIE-LCHlch(34.25, 70.58, 326.87°)
OKLaboklab(45.92% 0.163 -0.1073)
OKLCHoklch(45.92% 0.195 326.6)
XYZxyz(15.9317, 8.1266, 26.7107)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B188F #1C8F18
analogous
#4F188F #8B188F #8F1858
triadic
#8B188F #8F8B18 #188F8B
tetradic
#8B188F #8F4F18 #1C8F18 #18588F
square
#8B188F #8F4F18 #1C8F18 #18588F
split-complementary
#8B188F #588F18 #188F4F
monochromatic
#250626 #580F5B #8B188F #BE21C3 #DA42DF

Accessibility & contrast

On white

8.00
#8B188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B188F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B188F#FFFFFF#000000##FFFFFF
##8B188F1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#38558C
Tritanopia (blue-blind)
#8F2F55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b188f;
/* rgb */ color: rgb(139, 24, 143);
/* oklch */ color: oklch(45.9% 0.195 326.6);
Tailwind
colors: {
  custom: {
    50: '#b166b0',
    500: '#8b188f',
    950: '#000000',
  },
}
SCSS
$custom: #8b188f;
$custom-light: #b166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b188f",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 297.983,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.19513,
    "h": 326.6
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#8B188F
secondary
#47C043
accent
#EE3A40
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B188F

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

Preview Lab → · Contrast checker → · Palette generator →

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