#8B37B7#8B37B7

#8B37B7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.3% C 0.197 H 311.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8B37B7
RGBrgb(139, 55, 183)
HSLhsl(279, 54%, 47%)
HSVhsv(279, 70%, 72%)
CMYKcmyk(24%, 69.9%, 0%, 28.2%)
CIE-LABlab(40.64, 56.01, -52.37)
CIE-LCHlch(40.64, 76.67, 316.92°)
OKLaboklab(51.3% 0.1307 -0.148)
OKLCHoklch(51.3% 0.197 311.5)
XYZxyz(20.5593, 11.6408, 45.9544)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37B7 #63B737
analogous
#4B37B7 #8B37B7 #B737A3
triadic
#8B37B7 #B78B37 #37B78B
tetradic
#8B37B7 #B74B37 #63B737 #37A3B7
square
#8B37B7 #B74B37 #63B737 #37A3B7
split-complementary
#8B37B7 #A3B737 #37B74B
monochromatic
#441B59 #672988 #8B37B7 #A75DCE #C18CDC

Accessibility & contrast

On white

6.31
#8B37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8B37B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37B7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37B7#FFFFFF#000000##FFFFFF
##8B37B71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#865273
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b37b7;
/* rgb */ color: rgb(139, 55, 183);
/* oklch */ color: oklch(51.3% 0.197 311.5);
Tailwind
colors: {
  custom: {
    50: '#b175cd',
    500: '#8b37b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b37b7;
$custom-light: #b175cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37b7",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 279.375,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.19743,
    "h": 311.5
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#8B37B7
secondary
#9AC783
accent
#DD4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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