#8F37C4#8F37C4

#8F37C4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.211 H 309.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8F37C4
RGBrgb(143, 55, 196)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(27%, 71.9%, 0%, 23.1%)
CIE-LABlab(42.09, 59.63, -57.61)
CIE-LCHlch(42.09, 82.91, 315.99°)
OKLaboklab(52.73% 0.1343 -0.1632)
OKLCHoklch(52.73% 0.211 309.4)
XYZxyz(22.6557, 12.5580, 53.4443)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37C4 #6CC437
analogous
#4937C4 #8F37C4 #C437B3
triadic
#8F37C4 #C48F37 #37C48F
tetradic
#8F37C4 #C44937 #6CC437 #37B3C4
square
#8F37C4 #C44937 #6CC437 #37B3C4
split-complementary
#8F37C4 #B3C437 #37C449
monochromatic
#491C64 #6C2A94 #8F37C4 #AA65D4 #C494E1

Accessibility & contrast

On white

5.98
#8F37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8F37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37C4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37C4#FFFFFF#000000##FFFFFF
##8F37C41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1665C1
Tritanopia (blue-blind)
#87577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f37c4;
/* rgb */ color: rgb(143, 55, 196);
/* oklch */ color: oklch(52.7% 0.211 309.4);
Tailwind
colors: {
  custom: {
    50: '#b476d7',
    500: '#8f37c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f37c4;
$custom-light: #b476d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37c4",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 277.447,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.21134,
    "h": 309.4
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#8F37C4
secondary
#A3CC8B
accent
#DF4881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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