#8F37CC#8F37CC

#8F37CC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.219 H 307.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8F37CC
RGBrgb(143, 55, 204)
HSLhsl(275, 59%, 51%)
HSVhsv(275, 73%, 80%)
CMYKcmyk(29.9%, 73%, 0%, 20%)
CIE-LABlab(42.66, 61.37, -61.33)
CIE-LCHlch(42.66, 86.77, 315.02°)
OKLaboklab(53.31% 0.133 -0.1742)
OKLCHoklch(53.31% 0.219 307.4)
XYZxyz(23.5906, 12.9320, 58.3684)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37CC #74CC37
analogous
#4437CC #8F37CC #CC37BF
triadic
#8F37CC #CC8F37 #37CC8F
tetradic
#8F37CC #CC4437 #74CC37 #37BFCC
square
#8F37CC #CC4437 #74CC37 #37BFCC
split-complementary
#8F37CC #BFCC37 #37CC44
monochromatic
#4C1C6D #6E289E #8F37CC #AA68D8 #C699E5

Accessibility & contrast

On white

5.86
#8F37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8F37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37CC#FFFFFF#000000##FFFFFF
##8F37CC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#855A7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f37cc;
/* rgb */ color: rgb(143, 55, 204);
/* oklch */ color: oklch(53.3% 0.219 307.4);
Tailwind
colors: {
  custom: {
    50: '#b576dc',
    500: '#8f37cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f37cc;
$custom-light: #b576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37cc",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 275.436,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.21911,
    "h": 307.4
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#8F37CC
secondary
#A9D08E
accent
#E34586
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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