#8F36C4#8F36C4

#8F36C4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.212 H 309.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8F36C4
RGBrgb(143, 54, 196)
HSLhsl(278, 57%, 49%)
HSVhsv(278, 72%, 77%)
CMYKcmyk(27%, 72.4%, 0%, 23.1%)
CIE-LABlab(41.94, 60.04, -57.85)
CIE-LCHlch(41.94, 83.37, 316.07°)
OKLaboklab(52.63% 0.1352 -0.1639)
OKLCHoklch(52.63% 0.212 309.5)
XYZxyz(22.6087, 12.4639, 53.4286)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36C4 #6BC436
analogous
#4836C4 #8F36C4 #C436B2
triadic
#8F36C4 #C48F36 #36C48F
tetradic
#8F36C4 #C44836 #6BC436 #36B2C4
square
#8F36C4 #C44836 #6BC436 #36B2C4
split-complementary
#8F36C4 #B2C436 #36C448
monochromatic
#491C64 #6C2994 #8F36C4 #AA63D4 #C493E1

Accessibility & contrast

On white

6.01
#8F36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8F36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36C4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36C4#FFFFFF#000000##FFFFFF
##8F36C41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#1464C1
Tritanopia (blue-blind)
#87577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f36c4;
/* rgb */ color: rgb(143, 54, 196);
/* oklch */ color: oklch(52.6% 0.212 309.5);
Tailwind
colors: {
  custom: {
    50: '#b475d7',
    500: '#8f36c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f36c4;
$custom-light: #b475d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36c4",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 277.606,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.21249,
    "h": 309.5
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#8F36C4
secondary
#A2CC89
accent
#E04881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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