#8B36BD#8B36BD

#8B36BD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.205 H 309.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8B36BD
RGBrgb(139, 54, 189)
HSLhsl(278, 56%, 48%)
HSVhsv(278, 71%, 74%)
CMYKcmyk(26.5%, 71.4%, 0%, 25.9%)
CIE-LABlab(40.90, 57.73, -55.47)
CIE-LCHlch(40.90, 80.06, 316.14°)
OKLaboklab(51.61% 0.131 -0.1571)
OKLCHoklch(51.61% 0.205 309.8)
XYZxyz(21.1501, 11.8019, 49.2981)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36BD #68BD36
analogous
#4836BD #8B36BD #BD36AB
triadic
#8B36BD #BD8B36 #36BD8B
tetradic
#8B36BD #BD4836 #68BD36 #36ABBD
square
#8B36BD #BD4836 #68BD36 #36ABBD
split-complementary
#8B36BD #ABBD36 #36BD48
monochromatic
#451B5E #68288D #8B36BD #A75FD1 #C18FDF

Accessibility & contrast

On white

6.25
#8B36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8B36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36BD#FFFFFF#000000##FFFFFF
##8B36BD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b36bd;
/* rgb */ color: rgb(139, 54, 189);
/* oklch */ color: oklch(51.6% 0.205 309.8);
Tailwind
colors: {
  custom: {
    50: '#b174d2',
    500: '#8b36bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b36bd;
$custom-light: #b174d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36bd",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 277.778,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51612,
    "c": 0.20452,
    "h": 309.8
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#8B36BD
secondary
#9FC985
accent
#DF4980
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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