#8F37C8#8F37C8

#8F37C8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.215 H 308.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8F37C8
RGBrgb(143, 55, 200)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 73%, 78%)
CMYKcmyk(28.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(42.37, 60.50, -59.48)
CIE-LCHlch(42.37, 84.84, 315.49°)
OKLaboklab(53.02% 0.1336 -0.1687)
OKLCHoklch(53.02% 0.215 308.4)
XYZxyz(23.1171, 12.7425, 55.8741)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37C8 #70C837
analogous
#4737C8 #8F37C8 #C837B8
triadic
#8F37C8 #C88F37 #37C88F
tetradic
#8F37C8 #C84737 #70C837 #37B8C8
square
#8F37C8 #C84737 #70C837 #37B8C8
split-complementary
#8F37C8 #B8C837 #37C847
monochromatic
#4A1D68 #6D2A98 #8F37C8 #AA67D5 #C597E2

Accessibility & contrast

On white

5.92
#8F37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37C8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37C8#FFFFFF#000000##FFFFFF
##8F37C81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0765C5
Tritanopia (blue-blind)
#86597C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f37c8;
/* rgb */ color: rgb(143, 55, 200);
/* oklch */ color: oklch(53.0% 0.215 308.4);
Tailwind
colors: {
  custom: {
    50: '#b576da',
    500: '#8f37c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f37c8;
$custom-light: #b576da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37c8",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 276.414,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.21522,
    "h": 308.4
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#8F37C8
secondary
#A6CE8D
accent
#E04884
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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