#8B37BA#8B37BA

#8B37BA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.200 H 310.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8B37BA
RGBrgb(139, 55, 186)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 73%)
CMYKcmyk(25.3%, 70.4%, 0%, 27.1%)
CIE-LABlab(40.84, 56.66, -53.80)
CIE-LCHlch(40.84, 78.13, 316.48°)
OKLaboklab(51.51% 0.1304 -0.1522)
OKLCHoklch(51.51% 0.2 310.6)
XYZxyz(20.8749, 11.7670, 47.6164)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B37BA #66BA37
analogous
#4937BA #8B37BA #BA37A8
triadic
#8B37BA #BA8B37 #37BA8B
tetradic
#8B37BA #BA4937 #66BA37 #37A8BA
square
#8B37BA #BA4937 #66BA37 #37A8BA
split-complementary
#8B37BA #A8BA37 #37BA49
monochromatic
#441B5C #68298B #8B37BA #A75FD0 #C18EDE

Accessibility & contrast

On white

6.26
#8B37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B37BA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B37BA#FFFFFF#000000##FFFFFF
##8B37BA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#855475
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b37ba;
/* rgb */ color: rgb(139, 55, 186);
/* oklch */ color: oklch(51.5% 0.200 310.6);
Tailwind
colors: {
  custom: {
    50: '#b175cf',
    500: '#8b37ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b37ba;
$custom-light: #b175cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b37ba",
  "rgb": {
    "r": 139,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 278.473,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.20037,
    "h": 310.6
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#8B37BA
secondary
#9DC885
accent
#DE4A7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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