#8B36C0#8B36C0

#8B36C0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.207 H 309.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8B36C0
RGBrgb(139, 54, 192)
HSLhsl(277, 56%, 48%)
HSVhsv(277, 72%, 75%)
CMYKcmyk(27.6%, 71.9%, 0%, 24.7%)
CIE-LABlab(41.11, 58.39, -56.89)
CIE-LCHlch(41.11, 81.52, 315.75°)
OKLaboklab(51.83% 0.1306 -0.1612)
OKLCHoklch(51.83% 0.207 309)
XYZxyz(21.4791, 11.9335, 51.0308)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36C0 #6BC036
analogous
#4636C0 #8B36C0 #C036B0
triadic
#8B36C0 #C08B36 #36C08B
tetradic
#8B36C0 #C04636 #6BC036 #36B0C0
square
#8B36C0 #C04636 #6BC036 #36B0C0
split-complementary
#8B36C0 #B0C036 #36C046
monochromatic
#461B60 #682990 #8B36C0 #A761D2 #C190E0

Accessibility & contrast

On white

6.20
#8B36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8B36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36C0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36C0#FFFFFF#000000##FFFFFF
##8B36C01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1362BD
Tritanopia (blue-blind)
#835578
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b36c0;
/* rgb */ color: rgb(139, 54, 192);
/* oklch */ color: oklch(51.8% 0.207 309.0);
Tailwind
colors: {
  custom: {
    50: '#b275d4',
    500: '#8b36c0',
    950: '#000000',
  },
}
SCSS
$custom: #8b36c0;
$custom-light: #b275d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36c0",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 276.957,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.20746,
    "h": 309
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#8B36C0
secondary
#A1CB87
accent
#DF4882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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