#8C36CB#8C36CB

#8C36CB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.218 H 306.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8C36CB
RGBrgb(140, 54, 203)
HSLhsl(275, 59%, 50%)
HSVhsv(275, 73%, 80%)
CMYKcmyk(31%, 73.4%, 0%, 20.4%)
CIE-LABlab(42.04, 61.01, -61.78)
CIE-LCHlch(42.04, 86.82, 314.64°)
OKLaboklab(52.77% 0.13 -0.1756)
OKLCHoklch(52.77% 0.218 306.5)
XYZxyz(22.9115, 12.5258, 57.6991)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36CB #75CB36
analogous
#4236CB #8C36CB #CB36BF
triadic
#8C36CB #CB8C36 #36CB8C
tetradic
#8C36CB #CB4236 #75CB36 #36BFCB
square
#8C36CB #CB4236 #75CB36 #36BFCB
split-complementary
#8C36CB #BFCB36 #36CB42
monochromatic
#491C6B #6B289C #8C36CB #A867D8 #C497E4

Accessibility & contrast

On white

5.99
#8C36CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C36CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C36CB#FFFFFF#000000##FFFFFF
##8C36CB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c36cb;
/* rgb */ color: rgb(140, 54, 203);
/* oklch */ color: oklch(52.8% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#b375dc',
    500: '#8c36cb',
    950: '#000000',
  },
}
SCSS
$custom: #8c36cb;
$custom-light: #b375dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36cb",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 274.631,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.21848,
    "h": 306.5
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#8C36CB
secondary
#A9D08D
accent
#E24688
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C36CB

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

Preview Lab → · Contrast checker → · Palette generator →

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