#8C36C2#8C36C2

#8C36C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.210 H 308.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8C36C2
RGBrgb(140, 54, 194)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(27.8%, 72.2%, 0%, 23.9%)
CIE-LABlab(41.39, 59.02, -57.60)
CIE-LCHlch(41.39, 82.47, 315.70°)
OKLaboklab(52.1% 0.1316 -0.1633)
OKLCHoklch(52.1% 0.21 308.9)
XYZxyz(21.8700, 12.1092, 52.2137)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36C2 #6CC236
analogous
#4636C2 #8C36C2 #C236B2
triadic
#8C36C2 #C28C36 #36C28C
tetradic
#8C36C2 #C24636 #6CC236 #36B2C2
square
#8C36C2 #C24636 #6CC236 #36B2C2
split-complementary
#8C36C2 #B2C236 #36C246
monochromatic
#471B62 #692992 #8C36C2 #A862D3 #C292E1

Accessibility & contrast

On white

6.14
#8C36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8C36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C36C2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C36C2#FFFFFF#000000##FFFFFF
##8C36C21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1063BF
Tritanopia (blue-blind)
#845679
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c36c2;
/* rgb */ color: rgb(140, 54, 194);
/* oklch */ color: oklch(52.1% 0.210 308.9);
Tailwind
colors: {
  custom: {
    50: '#b275d5',
    500: '#8c36c2',
    950: '#000000',
  },
}
SCSS
$custom: #8c36c2;
$custom-light: #b275d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36c2",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 276.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.521,
    "c": 0.20969,
    "h": 308.9
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#8C36C2
secondary
#A2CC88
accent
#E04883
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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