#8B37BD#8B37BD

#8B37BD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.203 H 309.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8B37BD
RGBrgb(139, 55, 189)
HSLhsl(278, 55%, 48%)
HSVhsv(278, 71%, 74%)
CMYKcmyk(26.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(41.05, 57.31, -55.23)
CIE-LCHlch(41.05, 79.59, 316.06°)
OKLaboklab(51.72% 0.13 -0.1564)
OKLCHoklch(51.72% 0.203 309.7)
XYZxyz(21.1971, 11.8959, 49.3137)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37BD #69BD37
analogous
#4837BD #8B37BD #BD37AC
triadic
#8B37BD #BD8B37 #37BD8B
tetradic
#8B37BD #BD4837 #69BD37 #37ACBD
square
#8B37BD #BD4837 #69BD37 #37ACBD
split-complementary
#8B37BD #ACBD37 #37BD48
monochromatic
#451B5E #68298E #8B37BD #A760D1 #C190DF

Accessibility & contrast

On white

6.21
#8B37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37BD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37BD#FFFFFF#000000##FFFFFF
##8B37BD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#845576
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b37bd;
/* rgb */ color: rgb(139, 55, 189);
/* oklch */ color: oklch(51.7% 0.203 309.7);
Tailwind
colors: {
  custom: {
    50: '#b175d2',
    500: '#8b37bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b37bd;
$custom-light: #b175d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37bd",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 277.612,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.20332,
    "h": 309.7
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#8B37BD
secondary
#9FC986
accent
#DE4A81
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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