#8F37AE#8F37AE

#8F37AE is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.190 H 315.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8F37AE
RGBrgb(143, 55, 174)
HSLhsl(284, 52%, 45%)
HSVhsv(284, 68%, 68%)
CMYKcmyk(17.8%, 68.4%, 0%, 31.8%)
CIE-LABlab(40.62, 54.98, -47.05)
CIE-LCHlch(40.62, 72.37, 319.45°)
OKLaboklab(51.21% 0.1366 -0.1322)
OKLCHoklch(51.21% 0.19 315.9)
XYZxyz(20.3327, 11.6288, 41.2097)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37AE #56AE37
analogous
#5437AE #8F37AE #AE3791
triadic
#8F37AE #AE8F37 #37AE8F
tetradic
#8F37AE #AE5437 #56AE37 #3791AE
square
#8F37AE #AE5437 #56AE37 #3791AE
split-complementary
#8F37AE #91AE37 #37AE54
monochromatic
#431A51 #69287F #8F37AE #AC58CA #C386D9

Accessibility & contrast

On white

6.31
#8F37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8F37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37AE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37AE#FFFFFF#000000##FFFFFF
##8F37AE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3662AB
Tritanopia (blue-blind)
#8D4E6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f37ae;
/* rgb */ color: rgb(143, 55, 174);
/* oklch */ color: oklch(51.2% 0.190 315.9);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8f37ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f37ae;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37ae",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 284.37,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.19013,
    "h": 315.9
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#8F37AE
secondary
#90C37E
accent
#DB4C72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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