#8B37AB#8B37AB

#8B37AB is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.186 H 315.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8B37AB
RGBrgb(139, 55, 171)
HSLhsl(283, 51%, 44%)
HSVhsv(283, 68%, 67%)
CMYKcmyk(18.7%, 67.8%, 0%, 32.9%)
CIE-LABlab(39.85, 53.46, -46.53)
CIE-LCHlch(39.85, 70.87, 318.97°)
OKLaboklab(50.48% 0.1317 -0.1308)
OKLCHoklch(50.48% 0.186 315.2)
XYZxyz(19.3632, 11.1623, 39.6547)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37AB #57AB37
analogous
#5137AB #8B37AB #AB3791
triadic
#8B37AB #AB8B37 #37AB8B
tetradic
#8B37AB #AB5137 #57AB37 #3791AB
square
#8B37AB #AB5137 #57AB37 #3791AB
split-complementary
#8B37AB #91AB37 #37AB51
monochromatic
#40194E #65287D #8B37AB #A956C9 #C185D8

Accessibility & contrast

On white

6.50
#8B37AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8B37AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37AB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37AB#FFFFFF#000000##FFFFFF
##8B37AB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3460A8
Tritanopia (blue-blind)
#894E6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b37ab;
/* rgb */ color: rgb(139, 55, 171);
/* oklch */ color: oklch(50.5% 0.186 315.2);
Tailwind
colors: {
  custom: {
    50: '#b074c5',
    500: '#8b37ab',
    950: '#000000',
  },
}
SCSS
$custom: #8b37ab;
$custom-light: #b074c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37ab",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 283.448,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.18567,
    "h": 315.2
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#8B37AB
secondary
#8FC17C
accent
#DB4D74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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