#8B36BB#8B36BB

#8B36BB is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.203 H 310.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8B36BB
RGBrgb(139, 54, 187)
HSLhsl(278, 55%, 47%)
HSVhsv(278, 71%, 73%)
CMYKcmyk(25.7%, 71.1%, 0%, 26.7%)
CIE-LABlab(40.76, 57.30, -54.52)
CIE-LCHlch(40.76, 79.10, 316.42°)
OKLaboklab(51.47% 0.1313 -0.1543)
OKLCHoklch(51.47% 0.203 310.4)
XYZxyz(20.9345, 11.7156, 48.1626)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36BB #66BB36
analogous
#4936BB #8B36BB #BB36A9
triadic
#8B36BB #BB8B36 #36BB8B
tetradic
#8B36BB #BB4936 #66BB36 #36A9BB
square
#8B36BB #BB4936 #66BB36 #36A9BB
split-complementary
#8B36BB #A9BB36 #36BB49
monochromatic
#441B5C #68288C #8B36BB #A75ED0 #C18DDE

Accessibility & contrast

On white

6.28
#8B36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8B36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36BB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36BB#FFFFFF#000000##FFFFFF
##8B36BB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#845375
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b36bb;
/* rgb */ color: rgb(139, 54, 187);
/* oklch */ color: oklch(51.5% 0.203 310.4);
Tailwind
colors: {
  custom: {
    50: '#b174d0',
    500: '#8b36bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b36bb;
$custom-light: #b174d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36bb",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 278.346,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.20256,
    "h": 310.4
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#8B36BB
secondary
#9DC984
accent
#DF497F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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