#8D36CC#8D36CC

#8D36CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.220 H 306.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D36CC
RGBrgb(141, 54, 204)
HSLhsl(275, 60%, 51%)
HSVhsv(275, 74%, 80%)
CMYKcmyk(30.9%, 73.5%, 0%, 20%)
CIE-LABlab(42.25, 61.41, -62.01)
CIE-LCHlch(42.25, 87.27, 314.72°)
OKLaboklab(52.96% 0.1312 -0.1762)
OKLCHoklch(52.96% 0.22 306.7)
XYZxyz(23.2004, 12.6609, 58.3366)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36CC #75CC36
analogous
#4236CC #8D36CC #CC36C0
triadic
#8D36CC #CC8D36 #36CC8D
tetradic
#8D36CC #CC4236 #75CC36 #36C0CC
square
#8D36CC #CC4236 #75CC36 #36C0CC
split-complementary
#8D36CC #C0CC36 #36CC42
monochromatic
#4A1B6C #6C289D #8D36CC #A967D8 #C498E5

Accessibility & contrast

On white

5.95
#8D36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36CC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36CC#FFFFFF#000000##FFFFFF
##8D36CC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d36cc;
/* rgb */ color: rgb(141, 54, 204);
/* oklch */ color: oklch(53.0% 0.220 306.7);
Tailwind
colors: {
  custom: {
    50: '#b475dc',
    500: '#8d36cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d36cc;
$custom-light: #b475dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36cc",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 274.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.2197,
    "h": 306.7
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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