#8C36C8#8C36C8

#8C36C8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.216 H 307.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8C36C8
RGBrgb(140, 54, 200)
HSLhsl(275, 57%, 50%)
HSVhsv(275, 73%, 78%)
CMYKcmyk(30%, 73%, 0%, 21.6%)
CIE-LABlab(41.82, 60.34, -60.39)
CIE-LCHlch(41.82, 85.37, 314.98°)
OKLaboklab(52.54% 0.1306 -0.1715)
OKLCHoklch(52.54% 0.216 307.3)
XYZxyz(22.5575, 12.3842, 55.8344)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36C8 #72C836
analogous
#4336C8 #8C36C8 #C836BB
triadic
#8C36C8 #C88C36 #36C88C
tetradic
#8C36C8 #C84336 #72C836 #36BBC8
square
#8C36C8 #C84336 #72C836 #36BBC8
split-complementary
#8C36C8 #BBC836 #36C843
monochromatic
#491C68 #6A2998 #8C36C8 #A866D6 #C396E3

Accessibility & contrast

On white

6.04
#8C36C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8C36C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C36C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C36C8#FFFFFF#000000##FFFFFF
##8C36C81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#82597C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c36c8;
/* rgb */ color: rgb(140, 54, 200);
/* oklch */ color: oklch(52.5% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#b375da',
    500: '#8c36c8',
    950: '#000000',
  },
}
SCSS
$custom: #8c36c8;
$custom-light: #b375da;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36c8",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 275.342,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.21555,
    "h": 307.3
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#8C36C8
secondary
#A7CE8C
accent
#E14786
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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