#8F36BD#8F36BD

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

Color values

HEX#8F36BD
RGBrgb(143, 54, 189)
HSLhsl(280, 56%, 48%)
HSVhsv(280, 71%, 74%)
CMYKcmyk(24.3%, 71.4%, 0%, 25.9%)
CIE-LABlab(41.46, 58.54, -54.54)
CIE-LCHlch(41.46, 80.01, 317.03°)
OKLaboklab(52.13% 0.1362 -0.1542)
OKLCHoklch(52.13% 0.206 311.5)
XYZxyz(21.8304, 12.1527, 49.3300)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36BD #64BD36
analogous
#4C36BD #8F36BD #BD36A7
triadic
#8F36BD #BD8F36 #36BD8F
tetradic
#8F36BD #BD4C36 #64BD36 #36A7BD
square
#8F36BD #BD4C36 #64BD36 #36A7BD
split-complementary
#8F36BD #A7BD36 #36BD4C
monochromatic
#471B5E #6B288D #8F36BD #AA5FD1 #C38FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F36BD#FFFFFF#000000##FFFFFF
##8F36BD1.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)
#005EC1
Deuteranopia (green-blind)
#2363BA
Tritanopia (blue-blind)
#895476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f36bd;
/* rgb */ color: rgb(143, 54, 189);
/* oklch */ color: oklch(52.1% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#b475d2',
    500: '#8f36bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f36bd;
$custom-light: #b475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36bd",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 279.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.20576,
    "h": 311.5
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#8F36BD
secondary
#9DC985
accent
#DF497C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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