#8F37C6#8F37C6

#8F37C6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.213 H 308.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F37C6
RGBrgb(143, 55, 198)
HSLhsl(277, 57%, 50%)
HSVhsv(277, 72%, 78%)
CMYKcmyk(27.8%, 72.2%, 0%, 22.4%)
CIE-LABlab(42.23, 60.06, -58.55)
CIE-LCHlch(42.23, 83.88, 315.73°)
OKLaboklab(52.87% 0.1339 -0.166)
OKLCHoklch(52.87% 0.213 308.9)
XYZxyz(22.8849, 12.6496, 54.6512)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37C6 #6EC637
analogous
#4737C6 #8F37C6 #C637B6
triadic
#8F37C6 #C68F37 #37C68F
tetradic
#8F37C6 #C64737 #6EC637 #37B6C6
square
#8F37C6 #C64737 #6EC637 #37B6C6
split-complementary
#8F37C6 #B6C637 #37C647
monochromatic
#4A1C66 #6C2A96 #8F37C6 #AA66D4 #C496E2

Accessibility & contrast

On white

5.95
#8F37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37C6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37C6#FFFFFF#000000##FFFFFF
##8F37C61.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#87587B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f37c6;
/* rgb */ color: rgb(143, 55, 198);
/* oklch */ color: oklch(52.9% 0.213 308.9);
Tailwind
colors: {
  custom: {
    50: '#b576d8',
    500: '#8f37c6',
    950: '#000000',
  },
}
SCSS
$custom: #8f37c6;
$custom-light: #b576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37c6",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 276.923,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.21327,
    "h": 308.9
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#8F37C6
secondary
#A5CD8C
accent
#E04882
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8F37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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