#8B36C3#8B36C3

#8B36C3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.210 H 308.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B36C3
RGBrgb(139, 54, 195)
HSLhsl(276, 57%, 49%)
HSVhsv(276, 72%, 76%)
CMYKcmyk(28.7%, 72.3%, 0%, 23.5%)
CIE-LABlab(41.32, 59.05, -58.29)
CIE-LCHlch(41.32, 82.97, 315.37°)
OKLaboklab(52.05% 0.1301 -0.1654)
OKLCHoklch(52.05% 0.21 308.2)
XYZxyz(21.8149, 12.0678, 52.7993)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36C3 #6EC336
analogous
#4436C3 #8B36C3 #C336B5
triadic
#8B36C3 #C38B36 #36C38B
tetradic
#8B36C3 #C34436 #6EC336 #36B5C3
square
#8B36C3 #C34436 #6EC336 #36B5C3
split-complementary
#8B36C3 #B5C336 #36C344
monochromatic
#471B63 #692993 #8B36C3 #A763D4 #C292E1

Accessibility & contrast

On white

6.15
#8B36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36C3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36C3#FFFFFF#000000##FFFFFF
##8B36C31.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0762C0
Tritanopia (blue-blind)
#825779
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b36c3;
/* rgb */ color: rgb(139, 54, 195);
/* oklch */ color: oklch(52.0% 0.210 308.2);
Tailwind
colors: {
  custom: {
    50: '#b275d6',
    500: '#8b36c3',
    950: '#000000',
  },
}
SCSS
$custom: #8b36c3;
$custom-light: #b275d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36c3",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 276.17,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.2104,
    "h": 308.2
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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