#8F37BC#8F37BC

#8F37BC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.204 H 311.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8F37BC
RGBrgb(143, 55, 188)
HSLhsl(280, 55%, 48%)
HSVhsv(280, 71%, 74%)
CMYKcmyk(23.9%, 70.7%, 0%, 26.3%)
CIE-LABlab(41.54, 57.91, -53.83)
CIE-LCHlch(41.54, 79.06, 317.09°)
OKLaboklab(52.16% 0.1353 -0.1521)
OKLCHoklch(52.16% 0.204 311.7)
XYZxyz(21.7693, 12.2034, 48.7759)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37BC #64BC37
analogous
#4C37BC #8F37BC #BC37A7
triadic
#8F37BC #BC8F37 #37BC8F
tetradic
#8F37BC #BC4C37 #64BC37 #37A7BC
square
#8F37BC #BC4C37 #64BC37 #37A7BC
split-complementary
#8F37BC #A7BC37 #37BC4C
monochromatic
#471B5D #6B298D #8F37BC #AA60D0 #C38FDE

Accessibility & contrast

On white

6.10
#8F37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37BC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37BC#FFFFFF#000000##FFFFFF
##8F37BC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#2664B9
Tritanopia (blue-blind)
#895476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f37bc;
/* rgb */ color: rgb(143, 55, 188);
/* oklch */ color: oklch(52.2% 0.204 311.7);
Tailwind
colors: {
  custom: {
    50: '#b475d1',
    500: '#8f37bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f37bc;
$custom-light: #b475d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37bc",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 279.699,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.2036,
    "h": 311.7
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#8F37BC
secondary
#9DC986
accent
#DE4A7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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