#8B188B#8B188B

#8B188B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.192 H 328.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8B188B
RGBrgb(139, 24, 139)
HSLhsl(300, 71%, 32%)
HSVhsv(300, 83%, 55%)
CMYKcmyk(0%, 82.7%, 0%, 45.5%)
CIE-LABlab(34.00, 58.45, -36.50)
CIE-LCHlch(34.00, 68.91, 328.02°)
OKLaboklab(45.67% 0.1632 -0.1013)
OKLCHoklch(45.67% 0.192 328.2)
XYZxyz(15.6341, 8.0075, 25.1433)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B188B #188B18
analogous
#52188B #8B188B #8B1852
triadic
#8B188B #8B8B18 #188B8B
tetradic
#8B188B #8B5218 #188B18 #18528B
square
#8B188B #8B5218 #188B18 #18528B
split-complementary
#8B188B #528B18 #188B52
monochromatic
#230623 #570F57 #8B188B #BF21BF #DE3FDE

Accessibility & contrast

On white

8.07
#8B188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B188B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B188B#FFFFFF#000000##FFFFFF
##8B188B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#902D53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b188b;
/* rgb */ color: rgb(139, 24, 139);
/* oklch */ color: oklch(45.7% 0.192 328.2);
Tailwind
colors: {
  custom: {
    50: '#b166ad',
    500: '#8b188b',
    950: '#000000',
  },
}
SCSS
$custom: #8b188b;
$custom-light: #b166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b188b",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.1921,
    "h": 328.2
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#8B188B
secondary
#40BE40
accent
#ED3A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B188B

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

Preview Lab → · Contrast checker → · Palette generator →

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