#8B37AD#8B37AD

#8B37AD is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.188 H 314.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8B37AD
RGBrgb(139, 55, 173)
HSLhsl(283, 52%, 45%)
HSVhsv(283, 68%, 68%)
CMYKcmyk(19.7%, 68.2%, 0%, 32.2%)
CIE-LABlab(39.98, 53.88, -47.51)
CIE-LCHlch(39.98, 71.84, 318.59°)
OKLaboklab(50.62% 0.1316 -0.1337)
OKLCHoklch(50.62% 0.188 314.5)
XYZxyz(19.5552, 11.2391, 40.6663)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37AD #59AD37
analogous
#5037AD #8B37AD #AD3794
triadic
#8B37AD #AD8B37 #37AD8B
tetradic
#8B37AD #AD5037 #59AD37 #3794AD
square
#8B37AD #AD5037 #59AD37 #3794AD
split-complementary
#8B37AD #94AD37 #37AD50
monochromatic
#401950 #66287F #8B37AD #A957CA #C186D8

Accessibility & contrast

On white

6.47
#8B37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8B37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37AD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37AD#FFFFFF#000000##FFFFFF
##8B37AD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#884E6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b37ad;
/* rgb */ color: rgb(139, 55, 173);
/* oklch */ color: oklch(50.6% 0.188 314.5);
Tailwind
colors: {
  custom: {
    50: '#b074c6',
    500: '#8b37ad',
    950: '#000000',
  },
}
SCSS
$custom: #8b37ad;
$custom-light: #b074c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37ad",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 282.712,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.18762,
    "h": 314.5
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#8B37AD
secondary
#91C27D
accent
#DB4D76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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