#8B37B0#8B37B0

#8B37B0 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.191 H 313.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B37B0
RGBrgb(139, 55, 176)
HSLhsl(282, 52%, 45%)
HSVhsv(282, 69%, 69%)
CMYKcmyk(21%, 68.8%, 0%, 31%)
CIE-LABlab(40.17, 54.51, -48.98)
CIE-LCHlch(40.17, 73.28, 318.06°)
OKLaboklab(50.82% 0.1314 -0.138)
OKLCHoklch(50.82% 0.191 313.6)
XYZxyz(19.8488, 11.3565, 42.2123)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37B0 #5CB037
analogous
#4E37B0 #8B37B0 #B03798
triadic
#8B37B0 #B08B37 #37B08B
tetradic
#8B37B0 #B04E37 #5CB037 #3798B0
square
#8B37B0 #B04E37 #5CB037 #3798B0
split-complementary
#8B37B0 #98B037 #37B04E
monochromatic
#411A53 #662881 #8B37B0 #A859CB #C188DA

Accessibility & contrast

On white

6.42
#8B37B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B37B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37B0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37B0#FFFFFF#000000##FFFFFF
##8B37B01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#2F61AD
Tritanopia (blue-blind)
#87506F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b37b0;
/* rgb */ color: rgb(139, 55, 176);
/* oklch */ color: oklch(50.8% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#b175c8',
    500: '#8b37b0',
    950: '#000000',
  },
}
SCSS
$custom: #8b37b0;
$custom-light: #b175c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37b0",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 281.653,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.19055,
    "h": 313.6
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#8B37B0
secondary
#94C47F
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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