#8F37AA#8F37AA

#8F37AA is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.186 H 317.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8F37AA
RGBrgb(143, 55, 170)
HSLhsl(286, 51%, 44%)
HSVhsv(286, 68%, 67%)
CMYKcmyk(15.9%, 67.6%, 0%, 33.3%)
CIE-LABlab(40.37, 54.17, -45.07)
CIE-LCHlch(40.37, 70.47, 320.24°)
OKLaboklab(50.95% 0.1368 -0.1264)
OKLCHoklch(50.95% 0.186 317.3)
XYZxyz(19.9485, 11.4751, 39.1865)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37AA #52AA37
analogous
#5637AA #8F37AA #AA378C
triadic
#8F37AA #AA8F37 #37AA8F
tetradic
#8F37AA #AA5637 #52AA37 #378CAA
square
#8F37AA #AA5637 #52AA37 #378CAA
split-complementary
#8F37AA #8CAA37 #37AA56
monochromatic
#41194E #68287C #8F37AA #AD56C8 #C484D7

Accessibility & contrast

On white

6.37
#8F37AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F37AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37AA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37AA#FFFFFF#000000##FFFFFF
##8F37AA1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#8E4D6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f37aa;
/* rgb */ color: rgb(143, 55, 170);
/* oklch */ color: oklch(51.0% 0.186 317.3);
Tailwind
colors: {
  custom: {
    50: '#b375c4',
    500: '#8f37aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f37aa;
$custom-light: #b375c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37aa",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 285.913,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.1863,
    "h": 317.3
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#8F37AA
secondary
#8CC17C
accent
#DB4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F37AA

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

Preview Lab → · Contrast checker → · Palette generator →

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