#8D36DA#8D36DA

#8D36DA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.233 H 303.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D36DA
RGBrgb(141, 54, 218)
HSLhsl(272, 69%, 53%)
HSVhsv(272, 75%, 85%)
CMYKcmyk(35.3%, 75.2%, 0%, 14.5%)
CIE-LABlab(43.31, 64.54, -68.35)
CIE-LCHlch(43.31, 94.01, 313.36°)
OKLaboklab(54.04% 0.1283 -0.1949)
OKLCHoklch(54.04% 0.233 303.4)
XYZxyz(24.9556, 13.3630, 67.5807)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36DA #83DA36
analogous
#3B36DA #8D36DA #DA36D5
triadic
#8D36DA #DA8D36 #36DA8D
tetradic
#8D36DA #DA3B36 #83DA36 #36D5DA
square
#8D36DA #DA3B36 #83DA36 #36D5DA
split-complementary
#8D36DA #D5DA36 #36DA3B
monochromatic
#4E177E #6E21B2 #8D36DA #AA6AE4 #C89DED

Accessibility & contrast

On white

5.72
#8D36DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D36DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36DA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36DA#FFFFFF#000000##FFFFFF
##8D36DA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#7D6086
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d36da;
/* rgb */ color: rgb(141, 54, 218);
/* oklch */ color: oklch(54.0% 0.233 303.4);
Tailwind
colors: {
  custom: {
    50: '#b576e6',
    500: '#8d36da',
    950: '#000000',
  },
}
SCSS
$custom: #8d36da;
$custom-light: #b576e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36da",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 218
  },
  "hsl": {
    "h": 271.829,
    "s": 68.908,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.23331,
    "h": 303.4
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#8D36DA
secondary
#B4D993
accent
#EC3C8F
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D36DA

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

Preview Lab → · Contrast checker → · Palette generator →

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