#8D36D7#8D36D7

#8D36D7 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.8% C 0.230 H 304.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8D36D7
RGBrgb(141, 54, 215)
HSLhsl(272, 67%, 53%)
HSVhsv(272, 75%, 84%)
CMYKcmyk(34.4%, 74.9%, 0%, 15.7%)
CIE-LABlab(43.07, 63.87, -67.01)
CIE-LCHlch(43.07, 92.57, 313.63°)
OKLaboklab(53.81% 0.129 -0.1909)
OKLCHoklch(53.81% 0.23 304)
XYZxyz(24.5666, 13.2074, 65.5319)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36D7 #80D736
analogous
#3C36D7 #8D36D7 #D736D1
triadic
#8D36D7 #D78D36 #36D78D
tetradic
#8D36D7 #D73C36 #80D736 #36D1D7
square
#8D36D7 #D73C36 #80D736 #36D1D7
split-complementary
#8D36D7 #D1D736 #36D73C
monochromatic
#4D187A #6E22AD #8D36D7 #AA69E1 #C79CEB

Accessibility & contrast

On white

5.77
#8D36D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D36D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36D7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36D7#FFFFFF#000000##FFFFFF
##8D36D71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#7E5F85
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d36d7;
/* rgb */ color: rgb(141, 54, 215);
/* oklch */ color: oklch(53.8% 0.230 304.0);
Tailwind
colors: {
  custom: {
    50: '#b576e4',
    500: '#8d36d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d36d7;
$custom-light: #b576e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36d7",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 272.422,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.2304,
    "h": 304
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#8D36D7
secondary
#B2D792
accent
#EA3E8D
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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