#8F37BB#8F37BB

#8F37BB is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.1% C 0.203 H 311.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F37BB
RGBrgb(143, 55, 187)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(23.5%, 70.6%, 0%, 26.7%)
CIE-LABlab(41.47, 57.70, -53.35)
CIE-LCHlch(41.47, 78.58, 317.24°)
OKLaboklab(52.09% 0.1354 -0.1507)
OKLCHoklch(52.09% 0.203 311.9)
XYZxyz(21.6619, 12.1604, 48.2102)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37BB #63BB37
analogous
#4D37BB #8F37BB #BB37A5
triadic
#8F37BB #BB8F37 #37BB8F
tetradic
#8F37BB #BB4D37 #63BB37 #37A5BB
square
#8F37BB #BB4D37 #63BB37 #37A5BB
split-complementary
#8F37BB #A5BB37 #37BB4D
monochromatic
#471B5C #6B298C #8F37BB #AA5FD0 #C38EDE

Accessibility & contrast

On white

6.12
#8F37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37BB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37BB#FFFFFF#000000##FFFFFF
##8F37BB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2764B8
Tritanopia (blue-blind)
#8A5375
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f37bb;
/* rgb */ color: rgb(143, 55, 187);
/* oklch */ color: oklch(52.1% 0.203 311.9);
Tailwind
colors: {
  custom: {
    50: '#b475d0',
    500: '#8f37bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f37bb;
$custom-light: #b475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37bb",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.20263,
    "h": 311.9
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#8F37BB
secondary
#9CC985
accent
#DE4A7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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