#8C36D0#8C36D0

#8C36D0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.223 H 305.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8C36D0
RGBrgb(140, 54, 208)
HSLhsl(274, 62%, 51%)
HSVhsv(274, 74%, 82%)
CMYKcmyk(32.7%, 74%, 0%, 18.4%)
CIE-LABlab(42.41, 62.12, -64.06)
CIE-LCHlch(42.41, 89.24, 314.12°)
OKLaboklab(53.15% 0.1291 -0.1823)
OKLCHoklch(53.15% 0.223 305.3)
XYZxyz(23.5170, 12.7680, 60.8878)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36D0 #7AD036
analogous
#3F36D0 #8C36D0 #D036C7
triadic
#8C36D0 #D08C36 #36D08C
tetradic
#8C36D0 #D03F36 #7AD036 #36C7D0
square
#8C36D0 #D03F36 #7AD036 #36C7D0
split-complementary
#8C36D0 #C7D036 #36D03F
monochromatic
#4B1A71 #6C26A3 #8C36D0 #A868DC #C599E7

Accessibility & contrast

On white

5.91
#8C36D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8C36D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C36D0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C36D0#FFFFFF#000000##FFFFFF
##8C36D01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#7F5C81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c36d0;
/* rgb */ color: rgb(140, 54, 208);
/* oklch */ color: oklch(53.1% 0.223 305.3);
Tailwind
colors: {
  custom: {
    50: '#b375df',
    500: '#8c36d0',
    950: '#000000',
  },
}
SCSS
$custom: #8c36d0;
$custom-light: #b375df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36d0",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 273.506,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53145,
    "c": 0.22336,
    "h": 305.3
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#8C36D0
secondary
#ADD38F
accent
#E5438A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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