#8B36CC#8B36CC

#8B36CC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.219 H 305.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8B36CC
RGBrgb(139, 54, 204)
HSLhsl(274, 60%, 51%)
HSVhsv(274, 74%, 80%)
CMYKcmyk(31.9%, 73.5%, 0%, 20%)
CIE-LABlab(41.98, 61.05, -62.46)
CIE-LCHlch(41.98, 87.34, 314.34°)
OKLaboklab(52.72% 0.1285 -0.1776)
OKLCHoklch(52.72% 0.219 305.9)
XYZxyz(22.8633, 12.4871, 58.3208)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36CC #77CC36
analogous
#4036CC #8B36CC #CC36C2
triadic
#8B36CC #CC8B36 #36CC8B
tetradic
#8B36CC #CC4036 #77CC36 #36C2CC
square
#8B36CC #CC4036 #77CC36 #36C2CC
split-complementary
#8B36CC #C2CC36 #36CC40
monochromatic
#491B6C #6A289D #8B36CC #A767D8 #C398E5

Accessibility & contrast

On white

6.00
#8B36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8B36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36CC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36CC#FFFFFF#000000##FFFFFF
##8B36CC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7F5A7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b36cc;
/* rgb */ color: rgb(139, 54, 204);
/* oklch */ color: oklch(52.7% 0.219 305.9);
Tailwind
colors: {
  custom: {
    50: '#b275dc',
    500: '#8b36cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b36cc;
$custom-light: #b275dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36cc",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 274,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.21921,
    "h": 305.9
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#8B36CC
secondary
#AAD08E
accent
#E34589
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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