#8B1985#8B1985

#8B1985 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.187 H 330.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8B1985
RGBrgb(139, 25, 133)
HSLhsl(303, 70%, 32%)
HSVhsv(303, 82%, 55%)
CMYKcmyk(0%, 82%, 4.3%, 45.5%)
CIE-LABlab(33.73, 57.22, -33.21)
CIE-LCHlch(33.73, 66.15, 329.87°)
OKLaboklab(45.36% 0.1627 -0.0917)
OKLCHoklch(45.36% 0.187 330.6)
XYZxyz(15.2287, 7.8789, 22.9045)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1985 #198B1F
analogous
#58198B #8B1985 #8B194C
triadic
#8B1985 #858B19 #19858B
tetradic
#8B1985 #8B5819 #198B1F #194C8B
square
#8B1985 #8B5819 #198B1F #194C8B
split-complementary
#8B1985 #4C8B19 #198B58
monochromatic
#230622 #571053 #8B1985 #BF22B7 #DD41D5

Accessibility & contrast

On white

8.15
#8B1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1985
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1985#FFFFFF#000000##FFFFFF
##8B19851.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054688
Deuteranopia (green-blind)
#3F5582
Tritanopia (blue-blind)
#912A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1985;
/* rgb */ color: rgb(139, 25, 133);
/* oklch */ color: oklch(45.4% 0.187 330.6);
Tailwind
colors: {
  custom: {
    50: '#b166a9',
    500: '#8b1985',
    950: '#000000',
  },
}
SCSS
$custom: #8b1985;
$custom-light: #b166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1985",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 303.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.18676,
    "h": 330.6
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#8B1985
secondary
#42BE49
accent
#EC453B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1985

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

Preview Lab → · Contrast checker → · Palette generator →

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