#8B36BC#8B36BC

#8B36BC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.204 H 310.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8B36BC
RGBrgb(139, 54, 188)
HSLhsl(278, 55%, 47%)
HSVhsv(278, 71%, 74%)
CMYKcmyk(26.1%, 71.3%, 0%, 26.3%)
CIE-LABlab(40.83, 57.52, -55.00)
CIE-LCHlch(40.83, 79.58, 316.28°)
OKLaboklab(51.54% 0.1311 -0.1557)
OKLCHoklch(51.54% 0.204 310.1)
XYZxyz(21.0420, 11.7586, 48.7284)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36BC #67BC36
analogous
#4836BC #8B36BC #BC36AA
triadic
#8B36BC #BC8B36 #36BC8B
tetradic
#8B36BC #BC4836 #67BC36 #36AABC
square
#8B36BC #BC4836 #67BC36 #36AABC
split-complementary
#8B36BC #AABC36 #36BC48
monochromatic
#451B5D #68288C #8B36BC #A75ED1 #C18EDF

Accessibility & contrast

On white

6.27
#8B36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36BC#FFFFFF#000000##FFFFFF
##8B36BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#1C62B9
Tritanopia (blue-blind)
#845476
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b36bc;
/* rgb */ color: rgb(139, 54, 188);
/* oklch */ color: oklch(51.5% 0.204 310.1);
Tailwind
colors: {
  custom: {
    50: '#b174d1',
    500: '#8b36bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b36bc;
$custom-light: #b174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36bc",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 278.06,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.20354,
    "h": 310.1
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#8B36BC
secondary
#9EC985
accent
#DF4980
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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