#8F36BA#8F36BA

#8F36BA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.203 H 312.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F36BA
RGBrgb(143, 54, 186)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(23.1%, 71%, 0%, 27.1%)
CIE-LABlab(41.25, 57.91, -53.11)
CIE-LCHlch(41.25, 78.58, 317.47°)
OKLaboklab(51.92% 0.1366 -0.15)
OKLCHoklch(51.92% 0.203 312.3)
XYZxyz(21.5082, 12.0237, 47.6327)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36BA #61BA36
analogous
#4D36BA #8F36BA #BA36A3
triadic
#8F36BA #BA8F36 #36BA8F
tetradic
#8F36BA #BA4D36 #61BA36 #36A3BA
square
#8F36BA #BA4D36 #61BA36 #36A3BA
split-complementary
#8F36BA #A3BA36 #36BA4D
monochromatic
#461A5B #6B288B #8F36BA #AB5DD0 #C38DDE

Accessibility & contrast

On white

6.17
#8F36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36BA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36BA#FFFFFF#000000##FFFFFF
##8F36BA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#8A5274
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f36ba;
/* rgb */ color: rgb(143, 54, 186);
/* oklch */ color: oklch(51.9% 0.203 312.3);
Tailwind
colors: {
  custom: {
    50: '#b475cf',
    500: '#8f36ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f36ba;
$custom-light: #b475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36ba",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 280.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.20287,
    "h": 312.3
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#8F36BA
secondary
#9AC884
accent
#DE497A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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