#8B36C4#8B36C4

#8B36C4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.211 H 307.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8B36C4
RGBrgb(139, 54, 196)
HSLhsl(276, 57%, 49%)
HSVhsv(276, 72%, 77%)
CMYKcmyk(29.1%, 72.4%, 0%, 23.1%)
CIE-LABlab(41.40, 59.27, -58.76)
CIE-LCHlch(41.40, 83.46, 315.25°)
OKLaboklab(52.12% 0.1299 -0.1667)
OKLCHoklch(52.12% 0.211 307.9)
XYZxyz(21.9284, 12.1131, 53.3967)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36C4 #6FC436
analogous
#4436C4 #8B36C4 #C436B6
triadic
#8B36C4 #C48B36 #36C48B
tetradic
#8B36C4 #C44436 #6FC436 #36B6C4
square
#8B36C4 #C44436 #6FC436 #36B6C4
split-complementary
#8B36C4 #B6C436 #36C444
monochromatic
#471C64 #692994 #8B36C4 #A763D4 #C293E1

Accessibility & contrast

On white

6.14
#8B36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36C4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36C4#FFFFFF#000000##FFFFFF
##8B36C41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0262C1
Tritanopia (blue-blind)
#82577A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b36c4;
/* rgb */ color: rgb(139, 54, 196);
/* oklch */ color: oklch(52.1% 0.211 307.9);
Tailwind
colors: {
  custom: {
    50: '#b275d7',
    500: '#8b36c4',
    950: '#000000',
  },
}
SCSS
$custom: #8b36c4;
$custom-light: #b275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36c4",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 275.915,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.21137,
    "h": 307.9
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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