#8F37C5#8F37C5

#8F37C5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.212 H 309.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8F37C5
RGBrgb(143, 55, 197)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(27.4%, 72.1%, 0%, 22.7%)
CIE-LABlab(42.16, 59.85, -58.08)
CIE-LCHlch(42.16, 83.39, 315.86°)
OKLaboklab(52.8% 0.1341 -0.1646)
OKLCHoklch(52.8% 0.212 309.2)
XYZxyz(22.7699, 12.6037, 54.0457)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37C5 #6DC537
analogous
#4837C5 #8F37C5 #C537B4
triadic
#8F37C5 #C58F37 #37C58F
tetradic
#8F37C5 #C54837 #6DC537 #37B4C5
square
#8F37C5 #C54837 #6DC537 #37B4C5
split-complementary
#8F37C5 #B4C537 #37C548
monochromatic
#4A1C65 #6C2A95 #8F37C5 #AA65D4 #C495E1

Accessibility & contrast

On white

5.96
#8F37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8F37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37C5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37C5#FFFFFF#000000##FFFFFF
##8F37C51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#1365C2
Tritanopia (blue-blind)
#87577B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f37c5;
/* rgb */ color: rgb(143, 55, 197);
/* oklch */ color: oklch(52.8% 0.212 309.2);
Tailwind
colors: {
  custom: {
    50: '#b576d7',
    500: '#8f37c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f37c5;
$custom-light: #b576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37c5",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 277.183,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.21231,
    "h": 309.2
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#8F37C5
secondary
#A4CD8B
accent
#E04882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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