#8B36C2#8B36C2

#8B36C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.209 H 308.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8B36C2
RGBrgb(139, 54, 194)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 72%, 76%)
CMYKcmyk(28.4%, 72.2%, 0%, 23.9%)
CIE-LABlab(41.25, 58.83, -57.83)
CIE-LCHlch(41.25, 82.49, 315.49°)
OKLaboklab(51.97% 0.1302 -0.164)
OKLCHoklch(51.97% 0.209 308.5)
XYZxyz(21.7022, 12.0227, 52.2058)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36C2 #6DC236
analogous
#4536C2 #8B36C2 #C236B3
triadic
#8B36C2 #C28B36 #36C28B
tetradic
#8B36C2 #C24536 #6DC236 #36B3C2
square
#8B36C2 #C24536 #6DC236 #36B3C2
split-complementary
#8B36C2 #B3C236 #36C245
monochromatic
#461B62 #692992 #8B36C2 #A762D3 #C292E1

Accessibility & contrast

On white

6.17
#8B36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36C2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36C2#FFFFFF#000000##FFFFFF
##8B36C21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0C62BF
Tritanopia (blue-blind)
#825679
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b36c2;
/* rgb */ color: rgb(139, 54, 194);
/* oklch */ color: oklch(52.0% 0.209 308.5);
Tailwind
colors: {
  custom: {
    50: '#b275d5',
    500: '#8b36c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b36c2;
$custom-light: #b275d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36c2",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 276.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.20942,
    "h": 308.5
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#8B36C2
secondary
#A3CC88
accent
#E04884
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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