#8F37C1#8F37C1

#8F37C1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.208 H 310.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F37C1
RGBrgb(143, 55, 193)
HSLhsl(278, 56%, 49%)
HSVhsv(278, 72%, 76%)
CMYKcmyk(25.9%, 71.5%, 0%, 24.3%)
CIE-LABlab(41.88, 58.98, -56.20)
CIE-LCHlch(41.88, 81.47, 316.38°)
OKLaboklab(52.51% 0.1347 -0.1591)
OKLCHoklch(52.51% 0.208 310.3)
XYZxyz(22.3176, 12.4228, 51.6639)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37C1 #69C137
analogous
#4A37C1 #8F37C1 #C137AE
triadic
#8F37C1 #C18F37 #37C18F
tetradic
#8F37C1 #C14A37 #69C137 #37AEC1
square
#8F37C1 #C14A37 #69C137 #37AEC1
split-complementary
#8F37C1 #AEC137 #37C14A
monochromatic
#481C62 #6C2991 #8F37C1 #AA63D2 #C492E0

Accessibility & contrast

On white

6.03
#8F37C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F37C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37C1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37C1#FFFFFF#000000##FFFFFF
##8F37C11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#1D64BE
Tritanopia (blue-blind)
#885679
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f37c1;
/* rgb */ color: rgb(143, 55, 193);
/* oklch */ color: oklch(52.5% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#b476d4',
    500: '#8f37c1',
    950: '#000000',
  },
}
SCSS
$custom: #8f37c1;
$custom-light: #b476d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37c1",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 278.261,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.20843,
    "h": 310.3
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#8F37C1
secondary
#A1CB89
accent
#DF497F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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