#8D36CA#8D36CA

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

Color values

HEX#8D36CA
RGBrgb(141, 54, 202)
HSLhsl(275, 58%, 50%)
HSVhsv(275, 73%, 79%)
CMYKcmyk(30.2%, 73.3%, 0%, 20.8%)
CIE-LABlab(42.10, 60.97, -61.09)
CIE-LCHlch(42.10, 86.31, 314.94°)
OKLaboklab(52.82% 0.1316 -0.1735)
OKLCHoklch(52.82% 0.218 307.2)
XYZxyz(22.9621, 12.5656, 57.0814)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36CA #73CA36
analogous
#4336CA #8D36CA #CA36BD
triadic
#8D36CA #CA8D36 #36CA8D
tetradic
#8D36CA #CA4336 #73CA36 #36BDCA
square
#8D36CA #CA4336 #73CA36 #36BDCA
split-complementary
#8D36CA #BDCA36 #36CA43
monochromatic
#4A1C6A #6B299A #8D36CA #A866D7 #C497E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D36CA#FFFFFF#000000##FFFFFF
##8D36CA1.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)
#0060CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#83597D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d36ca;
/* rgb */ color: rgb(141, 54, 202);
/* oklch */ color: oklch(52.8% 0.218 307.2);
Tailwind
colors: {
  custom: {
    50: '#b475db',
    500: '#8d36ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d36ca;
$custom-light: #b475db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36ca",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 275.27,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.21775,
    "h": 307.2
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#8D36CA
secondary
#A8CF8D
accent
#E14686
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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