#8F36B8#8F36B8

#8F36B8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.201 H 312.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8F36B8
RGBrgb(143, 54, 184)
HSLhsl(281, 55%, 47%)
HSVhsv(281, 71%, 72%)
CMYKcmyk(22.3%, 70.7%, 0%, 27.8%)
CIE-LABlab(41.12, 57.49, -52.15)
CIE-LCHlch(41.12, 77.62, 317.78°)
OKLaboklab(51.78% 0.1368 -0.1472)
OKLCHoklch(51.78% 0.201 312.9)
XYZxyz(21.2971, 11.9393, 46.5207)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36B8 #5FB836
analogous
#4E36B8 #8F36B8 #B836A0
triadic
#8F36B8 #B88F36 #36B88F
tetradic
#8F36B8 #B84E36 #5FB836 #36A0B8
square
#8F36B8 #B84E36 #5FB836 #36A0B8
split-complementary
#8F36B8 #A0B836 #36B84E
monochromatic
#451A59 #6A2889 #8F36B8 #AB5CCF #C38BDD

Accessibility & contrast

On white

6.20
#8F36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36B8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36B8#FFFFFF#000000##FFFFFF
##8F36B81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#2A63B5
Tritanopia (blue-blind)
#8B5273
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f36b8;
/* rgb */ color: rgb(143, 54, 184);
/* oklch */ color: oklch(51.8% 0.201 312.9);
Tailwind
colors: {
  custom: {
    50: '#b475ce',
    500: '#8f36b8',
    950: '#000000',
  },
}
SCSS
$custom: #8f36b8;
$custom-light: #b475ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36b8",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 281.077,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.20096,
    "h": 312.9
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#8F36B8
secondary
#98C782
accent
#DE4A79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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