#8F37CF#8F37CF

#8F37CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.222 H 306.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F37CF
RGBrgb(143, 55, 207)
HSLhsl(275, 61%, 51%)
HSVhsv(275, 73%, 81%)
CMYKcmyk(30.9%, 73.4%, 0%, 18.8%)
CIE-LABlab(42.88, 62.04, -62.71)
CIE-LCHlch(42.88, 88.21, 314.69°)
OKLaboklab(53.54% 0.1324 -0.1782)
OKLCHoklch(53.54% 0.222 306.6)
XYZxyz(23.9539, 13.0773, 60.2816)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37CF #77CF37
analogous
#4337CF #8F37CF #CF37C3
triadic
#8F37CF #CF8F37 #37CF8F
tetradic
#8F37CF #CF4337 #77CF37 #37C3CF
square
#8F37CF #CF4337 #77CF37 #37C3CF
split-complementary
#8F37CF #C3CF37 #37CF43
monochromatic
#4D1B71 #6E27A2 #8F37CF #AB68DB #C69AE7

Accessibility & contrast

On white

5.81
#8F37CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F37CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37CF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37CF#FFFFFF#000000##FFFFFF
##8F37CF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#845C80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f37cf;
/* rgb */ color: rgb(143, 55, 207);
/* oklch */ color: oklch(53.5% 0.222 306.6);
Tailwind
colors: {
  custom: {
    50: '#b576df',
    500: '#8f37cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f37cf;
$custom-light: #b576df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37cf",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 274.737,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.22202,
    "h": 306.6
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#8F37CF
secondary
#ACD28F
accent
#E44387
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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