#8F37E0#8F37E0

#8F37E0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.238 H 302.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F37E0
RGBrgb(143, 55, 224)
HSLhsl(271, 73%, 55%)
HSVhsv(271, 75%, 88%)
CMYKcmyk(36.2%, 75.4%, 0%, 12.2%)
CIE-LABlab(44.17, 65.84, -70.36)
CIE-LCHlch(44.17, 96.36, 313.10°)
OKLaboklab(54.85% 0.1288 -0.2007)
OKLCHoklch(54.85% 0.239 302.7)
XYZxyz(26.1452, 13.9538, 71.8225)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37E0 #88E037
analogous
#3B37E0 #8F37E0 #E037DC
triadic
#8F37E0 #E08F37 #37E08F
tetradic
#8F37E0 #E03B37 #88E037 #37DCE0
square
#8F37E0 #E03B37 #88E037 #37DCE0
split-complementary
#8F37E0 #DCE037 #37E03B
monochromatic
#511588 #701DBD #8F37E0 #AD6CE8 #CAA1F0

Accessibility & contrast

On white

5.54
#8F37E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F37E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37E0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37E0#FFFFFF#000000##FFFFFF
##8F37E01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#7E638A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f37e0;
/* rgb */ color: rgb(143, 55, 224);
/* oklch */ color: oklch(54.8% 0.238 302.7);
Tailwind
colors: {
  custom: {
    50: '#b677eb',
    500: '#8f37e0',
    950: '#000000',
  },
}
SCSS
$custom: #8f37e0;
$custom-light: #b677eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37e0",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 224
  },
  "hsl": {
    "h": 271.243,
    "s": 73.16,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.2385,
    "h": 302.7
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#8F37E0
secondary
#B8DD96
accent
#F03890
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F37E0

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

Preview Lab → · Contrast checker → · Palette generator →

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