#8D36D1#8D36D1

#8D36D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.225 H 305.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D36D1
RGBrgb(141, 54, 209)
HSLhsl(274, 63%, 52%)
HSVhsv(274, 74%, 82%)
CMYKcmyk(32.5%, 74.2%, 0%, 18%)
CIE-LABlab(42.62, 62.52, -64.30)
CIE-LCHlch(42.62, 89.68, 314.20°)
OKLaboklab(53.34% 0.1302 -0.1829)
OKLCHoklch(53.34% 0.225 305.4)
XYZxyz(23.8097, 12.9047, 61.5458)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36D1 #7AD136
analogous
#4036D1 #8D36D1 #D136C8
triadic
#8D36D1 #D18D36 #36D18D
tetradic
#8D36D1 #D14036 #7AD136 #36C8D1
square
#8D36D1 #D14036 #7AD136 #36C8D1
split-complementary
#8D36D1 #C8D136 #36D140
monochromatic
#4C1A72 #6D26A4 #8D36D1 #A968DC #C59AE8

Accessibility & contrast

On white

5.86
#8D36D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8D36D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36D1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36D1#FFFFFF#000000##FFFFFF
##8D36D11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#805C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d36d1;
/* rgb */ color: rgb(141, 54, 209);
/* oklch */ color: oklch(53.3% 0.225 305.4);
Tailwind
colors: {
  custom: {
    50: '#b476e0',
    500: '#8d36d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d36d1;
$custom-light: #b476e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36d1",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 273.677,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.22456,
    "h": 305.4
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#8D36D1
secondary
#ADD38F
accent
#E6428A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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