#8F37C3#8F37C3

#8F37C3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.210 H 309.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F37C3
RGBrgb(143, 55, 195)
HSLhsl(278, 56%, 49%)
HSVhsv(278, 72%, 76%)
CMYKcmyk(26.7%, 71.8%, 0%, 23.5%)
CIE-LABlab(42.02, 59.41, -57.14)
CIE-LCHlch(42.02, 82.43, 316.12°)
OKLaboklab(52.66% 0.1344 -0.1618)
OKLCHoklch(52.66% 0.21 309.7)
XYZxyz(22.5423, 12.5126, 52.8468)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37C3 #6BC337
analogous
#4937C3 #8F37C3 #C337B1
triadic
#8F37C3 #C38F37 #37C38F
tetradic
#8F37C3 #C34937 #6BC337 #37B1C3
square
#8F37C3 #C34937 #6BC337 #37B1C3
split-complementary
#8F37C3 #B1C337 #37C349
monochromatic
#491C64 #6C2A93 #8F37C3 #AA64D3 #C494E1

Accessibility & contrast

On white

6.00
#8F37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8F37C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37C3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37C3#FFFFFF#000000##FFFFFF
##8F37C31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#88577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f37c3;
/* rgb */ color: rgb(143, 55, 195);
/* oklch */ color: oklch(52.7% 0.210 309.7);
Tailwind
colors: {
  custom: {
    50: '#b476d6',
    500: '#8f37c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f37c3;
$custom-light: #b476d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37c3",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 277.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.21038,
    "h": 309.7
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#8F37C3
secondary
#A2CC8A
accent
#DF4981
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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