#8F37AF#8F37AF

#8F37AF is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.191 H 315.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8F37AF
RGBrgb(143, 55, 175)
HSLhsl(284, 52%, 45%)
HSVhsv(284, 69%, 69%)
CMYKcmyk(18.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(40.68, 55.19, -47.54)
CIE-LCHlch(40.68, 72.84, 319.26°)
OKLaboklab(51.28% 0.1366 -0.1337)
OKLCHoklch(51.28% 0.191 315.6)
XYZxyz(20.4305, 11.6679, 41.7251)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37AF #57AF37
analogous
#5337AF #8F37AF #AF3793
triadic
#8F37AF #AF8F37 #37AF8F
tetradic
#8F37AF #AF5337 #57AF37 #3793AF
square
#8F37AF #AF5337 #57AF37 #3793AF
split-complementary
#8F37AF #93AF37 #37AF53
monochromatic
#431A52 #692880 #8F37AF #AC59CB #C387D9

Accessibility & contrast

On white

6.30
#8F37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F37AF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37AF#FFFFFF#000000##FFFFFF
##8F37AF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#8D4F6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f37af;
/* rgb */ color: rgb(143, 55, 175);
/* oklch */ color: oklch(51.3% 0.191 315.6);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8f37af',
    950: '#000000',
  },
}
SCSS
$custom: #8f37af;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37af",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 284,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.19109,
    "h": 315.6
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#8F37AF
secondary
#91C37F
accent
#DC4C72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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