#8C36CC#8C36CC

#8C36CC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.219 H 306.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8C36CC
RGBrgb(140, 54, 204)
HSLhsl(274, 60%, 51%)
HSVhsv(274, 74%, 80%)
CMYKcmyk(31.4%, 73.5%, 0%, 20%)
CIE-LABlab(42.11, 61.23, -62.24)
CIE-LCHlch(42.11, 87.31, 314.53°)
OKLaboklab(52.84% 0.1299 -0.1769)
OKLCHoklch(52.84% 0.219 306.3)
XYZxyz(23.0311, 12.5736, 58.3287)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36CC #76CC36
analogous
#4136CC #8C36CC #CC36C1
triadic
#8C36CC #CC8C36 #36CC8C
tetradic
#8C36CC #CC4136 #76CC36 #36C1CC
square
#8C36CC #CC4136 #76CC36 #36C1CC
split-complementary
#8C36CC #C1CC36 #36CC41
monochromatic
#4A1B6C #6B289D #8C36CC #A867D8 #C498E5

Accessibility & contrast

On white

5.98
#8C36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8C36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C36CC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C36CC#FFFFFF#000000##FFFFFF
##8C36CC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#815A7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c36cc;
/* rgb */ color: rgb(140, 54, 204);
/* oklch */ color: oklch(52.8% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#b375dc',
    500: '#8c36cc',
    950: '#000000',
  },
}
SCSS
$custom: #8c36cc;
$custom-light: #b375dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36cc",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 274.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.21946,
    "h": 306.3
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#8C36CC
secondary
#AAD08E
accent
#E34588
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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