#8B1885#8B1885

#8B1885 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.188 H 330.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8B1885
RGBrgb(139, 24, 133)
HSLhsl(303, 71%, 32%)
HSVhsv(303, 83%, 55%)
CMYKcmyk(0%, 82.7%, 4.3%, 45.5%)
CIE-LABlab(33.64, 57.47, -33.35)
CIE-LCHlch(33.64, 66.45, 329.88°)
OKLaboklab(45.3% 0.1634 -0.0921)
OKLCHoklch(45.3% 0.188 330.6)
XYZxyz(15.2077, 7.8369, 22.8975)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1885 #188B1E
analogous
#57188B #8B1885 #8B184C
triadic
#8B1885 #858B18 #18858B
tetradic
#8B1885 #8B5718 #188B1E #184C8B
square
#8B1885 #8B5718 #188B1E #184C8B
split-complementary
#8B1885 #4C8B18 #188B57
monochromatic
#230621 #570F53 #8B1885 #BF21B7 #DE3FD6

Accessibility & contrast

On white

8.18
#8B1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1885
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1885#FFFFFF#000000##FFFFFF
##8B18851.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#3F5482
Tritanopia (blue-blind)
#912A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1885;
/* rgb */ color: rgb(139, 24, 133);
/* oklch */ color: oklch(45.3% 0.188 330.6);
Tailwind
colors: {
  custom: {
    50: '#b165a9',
    500: '#8b1885',
    950: '#000000',
  },
}
SCSS
$custom: #8b1885;
$custom-light: #b165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1885",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 303.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.1876,
    "h": 330.6
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#8B1885
secondary
#40BE47
accent
#ED443A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B1885

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

Preview Lab → · Contrast checker → · Palette generator →

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