#8F36BC#8F36BC

#8F36BC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.205 H 311.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F36BC
RGBrgb(143, 54, 188)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 74%)
CMYKcmyk(23.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(41.39, 58.33, -54.07)
CIE-LCHlch(41.39, 79.53, 317.17°)
OKLaboklab(52.06% 0.1364 -0.1528)
OKLCHoklch(52.06% 0.205 311.7)
XYZxyz(21.7223, 12.1094, 48.7603)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36BC #63BC36
analogous
#4C36BC #8F36BC #BC36A6
triadic
#8F36BC #BC8F36 #36BC8F
tetradic
#8F36BC #BC4C36 #63BC36 #36A6BC
square
#8F36BC #BC4C36 #63BC36 #36A6BC
split-complementary
#8F36BC #A6BC36 #36BC4C
monochromatic
#471B5D #6B288C #8F36BC #AA5ED1 #C38EDF

Accessibility & contrast

On white

6.14
#8F36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36BC#FFFFFF#000000##FFFFFF
##8F36BC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#895376
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f36bc;
/* rgb */ color: rgb(143, 54, 188);
/* oklch */ color: oklch(52.1% 0.205 311.7);
Tailwind
colors: {
  custom: {
    50: '#b475d1',
    500: '#8f36bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f36bc;
$custom-light: #b475d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36bc",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 279.851,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.2048,
    "h": 311.7
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#8F36BC
secondary
#9CC985
accent
#DF497B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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