#8F37BD#8F37BD

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

Color values

HEX#8F37BD
RGBrgb(143, 55, 189)
HSLhsl(279, 55%, 48%)
HSVhsv(279, 71%, 74%)
CMYKcmyk(24.3%, 70.9%, 0%, 25.9%)
CIE-LABlab(41.61, 58.12, -54.30)
CIE-LCHlch(41.61, 79.54, 316.95°)
OKLaboklab(52.23% 0.1352 -0.1535)
OKLCHoklch(52.23% 0.205 311.4)
XYZxyz(21.8775, 12.2467, 49.3456)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37BD #65BD37
analogous
#4C37BD #8F37BD #BD37A8
triadic
#8F37BD #BD8F37 #37BD8F
tetradic
#8F37BD #BD4C37 #65BD37 #37A8BD
square
#8F37BD #BD4C37 #65BD37 #37A8BD
split-complementary
#8F37BD #A8BD37 #37BD4C
monochromatic
#471B5E #6B298E #8F37BD #AA60D1 #C490DF

Accessibility & contrast

On white

6.09
#8F37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37BD#FFFFFF#000000##FFFFFF
##8F37BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#895476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f37bd;
/* rgb */ color: rgb(143, 55, 189);
/* oklch */ color: oklch(52.2% 0.205 311.4);
Tailwind
colors: {
  custom: {
    50: '#b475d2',
    500: '#8f37bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f37bd;
$custom-light: #b475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37bd",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 279.403,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.20456,
    "h": 311.4
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#8F37BD
secondary
#9DC986
accent
#DE4A7D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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