#8C36BB#8C36BB

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

Color values

HEX#8C36BB
RGBrgb(140, 54, 187)
HSLhsl(279, 55%, 47%)
HSVhsv(279, 71%, 73%)
CMYKcmyk(25.1%, 71.1%, 0%, 26.7%)
CIE-LABlab(40.90, 57.50, -54.29)
CIE-LCHlch(40.90, 79.08, 316.65°)
OKLaboklab(51.6% 0.1326 -0.1536)
OKLCHoklch(51.6% 0.203 310.8)
XYZxyz(21.1023, 11.8021, 48.1705)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36BB #65BB36
analogous
#4936BB #8C36BB #BB36A8
triadic
#8C36BB #BB8C36 #36BB8C
tetradic
#8C36BB #BB4936 #65BB36 #36A8BB
square
#8C36BB #BB4936 #65BB36 #36A8BB
split-complementary
#8C36BB #A8BB36 #36BB49
monochromatic
#451B5C #68288C #8C36BB #A85ED0 #C28DDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C36BB#FFFFFF#000000##FFFFFF
##8C36BB1.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)
#005DBF
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#865375
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8c36bb;
/* rgb */ color: rgb(140, 54, 187);
/* oklch */ color: oklch(51.6% 0.203 310.8);
Tailwind
colors: {
  custom: {
    50: '#b275d0',
    500: '#8c36bb',
    950: '#000000',
  },
}
SCSS
$custom: #8c36bb;
$custom-light: #b275d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36bb",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 278.797,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.20288,
    "h": 310.8
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#8C36BB
secondary
#9CC984
accent
#DF497E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8C36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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