#8D36C1#8D36C1

#8D36C1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.209 H 309.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8D36C1
RGBrgb(141, 54, 193)
HSLhsl(278, 56%, 48%)
HSVhsv(278, 72%, 76%)
CMYKcmyk(26.9%, 72%, 0%, 24.3%)
CIE-LABlab(41.46, 59.00, -56.90)
CIE-LCHlch(41.46, 81.97, 316.04°)
OKLaboklab(52.15% 0.1331 -0.1612)
OKLCHoklch(52.15% 0.209 309.5)
XYZxyz(21.9274, 12.1517, 51.6321)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C1 #6AC136
analogous
#4736C1 #8D36C1 #C136AF
triadic
#8D36C1 #C18D36 #36C18D
tetradic
#8D36C1 #C14736 #6AC136 #36AFC1
square
#8D36C1 #C14736 #6AC136 #36AFC1
split-complementary
#8D36C1 #AFC136 #36C147
monochromatic
#471B61 #6A2991 #8D36C1 #A861D3 #C391E0

Accessibility & contrast

On white

6.12
#8D36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8D36C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36C1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C1#FFFFFF#000000##FFFFFF
##8D36C11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#1663BE
Tritanopia (blue-blind)
#855678
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d36c1;
/* rgb */ color: rgb(141, 54, 193);
/* oklch */ color: oklch(52.2% 0.209 309.5);
Tailwind
colors: {
  custom: {
    50: '#b375d5',
    500: '#8d36c1',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c1;
$custom-light: #b375d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c1",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 277.554,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.20901,
    "h": 309.5
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#8D36C1
secondary
#A1CB88
accent
#E04881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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