#8D36D4#8D36D4

#8D36D4 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.227 H 304.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D36D4
RGBrgb(141, 54, 212)
HSLhsl(273, 65%, 52%)
HSVhsv(273, 75%, 83%)
CMYKcmyk(33.5%, 74.5%, 0%, 16.9%)
CIE-LABlab(42.85, 63.19, -65.66)
CIE-LCHlch(42.85, 91.13, 313.90°)
OKLaboklab(53.57% 0.1296 -0.1869)
OKLCHoklch(53.57% 0.227 304.7)
XYZxyz(24.1846, 13.0546, 63.5203)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36D4 #7DD436
analogous
#3E36D4 #8D36D4 #D436CC
triadic
#8D36D4 #D48D36 #36D48D
tetradic
#8D36D4 #D43E36 #7DD436 #36CCD4
square
#8D36D4 #D43E36 #7DD436 #36CCD4
split-complementary
#8D36D4 #CCD436 #36D43E
monochromatic
#4D1976 #6D24A9 #8D36D4 #AA68DF #C69BEA

Accessibility & contrast

On white

5.82
#8D36D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D36D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36D4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36D4#FFFFFF#000000##FFFFFF
##8D36D41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#7F5D83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d36d4;
/* rgb */ color: rgb(141, 54, 212);
/* oklch */ color: oklch(53.6% 0.227 304.7);
Tailwind
colors: {
  custom: {
    50: '#b476e2',
    500: '#8d36d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d36d4;
$custom-light: #b476e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36d4",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 273.038,
    "s": 64.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.22748,
    "h": 304.7
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#8D36D4
secondary
#AFD590
accent
#E8408B
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8D36D4

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

Preview Lab → · Contrast checker → · Palette generator →

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