#8F36B2#8F36B2

#8F36B2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.195 H 314.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8F36B2
RGBrgb(143, 54, 178)
HSLhsl(283, 53%, 45%)
HSVhsv(283, 70%, 70%)
CMYKcmyk(19.7%, 69.7%, 0%, 30.2%)
CIE-LABlab(40.72, 56.23, -49.25)
CIE-LCHlch(40.72, 74.75, 318.79°)
OKLaboklab(51.37% 0.1374 -0.1387)
OKLCHoklch(51.37% 0.195 314.7)
XYZxyz(20.6814, 11.6930, 43.2784)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36B2 #59B236
analogous
#5136B2 #8F36B2 #B23697
triadic
#8F36B2 #B28F36 #36B28F
tetradic
#8F36B2 #B25136 #59B236 #3697B2
square
#8F36B2 #B25136 #59B236 #3697B2
split-complementary
#8F36B2 #97B236 #36B251
monochromatic
#441A54 #692883 #8F36B2 #AC59CD #C388DB

Accessibility & contrast

On white

6.29
#8F36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8F36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36B2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36B2#FFFFFF#000000##FFFFFF
##8F36B21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#8C4F70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f36b2;
/* rgb */ color: rgb(143, 54, 178);
/* oklch */ color: oklch(51.4% 0.195 314.7);
Tailwind
colors: {
  custom: {
    50: '#b474ca',
    500: '#8f36b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f36b2;
$custom-light: #b474ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36b2",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 283.065,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.19522,
    "h": 314.7
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#8F36B2
secondary
#93C57F
accent
#DD4B74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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