#8B36C5#8B36C5

#8B36C5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.212 H 307.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8B36C5
RGBrgb(139, 54, 197)
HSLhsl(276, 57%, 49%)
HSVhsv(276, 73%, 77%)
CMYKcmyk(29.4%, 72.6%, 0%, 22.7%)
CIE-LABlab(41.47, 59.49, -59.23)
CIE-LCHlch(41.47, 83.94, 315.13°)
OKLaboklab(52.2% 0.1298 -0.1681)
OKLCHoklch(52.2% 0.212 307.7)
XYZxyz(22.0425, 12.1588, 53.9982)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36C5 #70C536
analogous
#4336C5 #8B36C5 #C536B8
triadic
#8B36C5 #C58B36 #36C58B
tetradic
#8B36C5 #C54336 #70C536 #36B8C5
square
#8B36C5 #C54336 #70C536 #36B8C5
split-complementary
#8B36C5 #B8C536 #36C543
monochromatic
#471C65 #692995 #8B36C5 #A764D4 #C294E2

Accessibility & contrast

On white

6.12
#8B36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8B36C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36C5#FFFFFF#000000##FFFFFF
##8B36C51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#82587B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b36c5;
/* rgb */ color: rgb(139, 54, 197);
/* oklch */ color: oklch(52.2% 0.212 307.7);
Tailwind
colors: {
  custom: {
    50: '#b275d7',
    500: '#8b36c5',
    950: '#000000',
  },
}
SCSS
$custom: #8b36c5;
$custom-light: #b275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36c5",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 275.664,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.21236,
    "h": 307.7
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#8B36C5
secondary
#A5CD8A
accent
#E04885
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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