#8B36C6#8B36C6

#8B36C6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.213 H 307.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B36C6
RGBrgb(139, 54, 198)
HSLhsl(275, 57%, 49%)
HSVhsv(275, 73%, 78%)
CMYKcmyk(29.8%, 72.7%, 0%, 22.4%)
CIE-LABlab(41.54, 59.71, -59.69)
CIE-LCHlch(41.54, 84.43, 315.01°)
OKLaboklab(52.27% 0.1296 -0.1695)
OKLCHoklch(52.27% 0.213 307.4)
XYZxyz(22.1575, 12.2048, 54.6036)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36C6 #71C636
analogous
#4336C6 #8B36C6 #C636B9
triadic
#8B36C6 #C68B36 #36C68B
tetradic
#8B36C6 #C64336 #71C636 #36B9C6
square
#8B36C6 #C64336 #71C636 #36B9C6
split-complementary
#8B36C6 #B9C636 #36C643
monochromatic
#471C66 #692996 #8B36C6 #A764D5 #C294E2

Accessibility & contrast

On white

6.10
#8B36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8B36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36C6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36C6#FFFFFF#000000##FFFFFF
##8B36C61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#81587B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b36c6;
/* rgb */ color: rgb(139, 54, 198);
/* oklch */ color: oklch(52.3% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#b275d8',
    500: '#8b36c6',
    950: '#000000',
  },
}
SCSS
$custom: #8b36c6;
$custom-light: #b275d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36c6",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 275.417,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.21334,
    "h": 307.4
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

primary
#8B36C6
secondary
#A6CD8B
accent
#E04786
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8B36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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