#8D36CB#8D36CB

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

Color values

HEX#8D36CB
RGBrgb(141, 54, 203)
HSLhsl(275, 59%, 50%)
HSVhsv(275, 73%, 80%)
CMYKcmyk(30.5%, 73.4%, 0%, 20.4%)
CIE-LABlab(42.17, 61.19, -61.55)
CIE-LCHlch(42.17, 86.79, 314.83°)
OKLaboklab(52.89% 0.1314 -0.1749)
OKLCHoklch(52.89% 0.219 306.9)
XYZxyz(23.0808, 12.6131, 57.7070)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36CB #74CB36
analogous
#4336CB #8D36CB #CB36BE
triadic
#8D36CB #CB8D36 #36CB8D
tetradic
#8D36CB #CB4336 #74CB36 #36BECB
square
#8D36CB #CB4336 #74CB36 #36BECB
split-complementary
#8D36CB #BECB36 #36CB43
monochromatic
#4A1C6B #6C289C #8D36CB #A967D8 #C497E4

Accessibility & contrast

On white

5.96
#8D36CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D36CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36CB#FFFFFF#000000##FFFFFF
##8D36CB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d36cb;
/* rgb */ color: rgb(141, 54, 203);
/* oklch */ color: oklch(52.9% 0.219 306.9);
Tailwind
colors: {
  custom: {
    50: '#b475dc',
    500: '#8d36cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d36cb;
$custom-light: #b475dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36cb",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 275.034,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.21873,
    "h": 306.9
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D36CB

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

Preview Lab → · Contrast checker → · Palette generator →

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