#8B36BA#8B36BA

#8B36BA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.202 H 310.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8B36BA
RGBrgb(139, 54, 186)
HSLhsl(279, 55%, 47%)
HSVhsv(279, 71%, 73%)
CMYKcmyk(25.3%, 71%, 0%, 27.1%)
CIE-LABlab(40.69, 57.08, -54.05)
CIE-LCHlch(40.69, 78.61, 316.56°)
OKLaboklab(51.4% 0.1314 -0.1529)
OKLCHoklch(51.4% 0.202 310.7)
XYZxyz(20.8279, 11.6729, 47.6008)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36BA #65BA36
analogous
#4936BA #8B36BA #BA36A7
triadic
#8B36BA #BA8B36 #36BA8B
tetradic
#8B36BA #BA4936 #65BA36 #36A7BA
square
#8B36BA #BA4936 #65BA36 #36A7BA
split-complementary
#8B36BA #A7BA36 #36BA49
monochromatic
#441A5B #68288B #8B36BA #A75DD0 #C18DDE

Accessibility & contrast

On white

6.30
#8B36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B36BA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36BA#FFFFFF#000000##FFFFFF
##8B36BA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#855374
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b36ba;
/* rgb */ color: rgb(139, 54, 186);
/* oklch */ color: oklch(51.4% 0.202 310.7);
Tailwind
colors: {
  custom: {
    50: '#b174cf',
    500: '#8b36ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b36ba;
$custom-light: #b174cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36ba",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 278.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.20159,
    "h": 310.7
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#8B36BA
secondary
#9CC884
accent
#DE497E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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