#8F37BE#8F37BE

#8F37BE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.206 H 311.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F37BE
RGBrgb(143, 55, 190)
HSLhsl(279, 55%, 48%)
HSVhsv(279, 71%, 75%)
CMYKcmyk(24.7%, 71.1%, 0%, 25.5%)
CIE-LABlab(41.67, 58.34, -54.78)
CIE-LCHlch(41.67, 80.03, 316.80°)
OKLaboklab(52.3% 0.1351 -0.1549)
OKLCHoklch(52.3% 0.206 311.1)
XYZxyz(21.9864, 12.2903, 49.9193)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37BE #66BE37
analogous
#4B37BE #8F37BE #BE37A9
triadic
#8F37BE #BE8F37 #37BE8F
tetradic
#8F37BE #BE4B37 #66BE37 #37A9BE
square
#8F37BE #BE4B37 #66BE37 #37A9BE
split-complementary
#8F37BE #A9BE37 #37BE4B
monochromatic
#481C5F #6B298F #8F37BE #AA61D1 #C490DF

Accessibility & contrast

On white

6.07
#8F37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37BE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37BE#FFFFFF#000000##FFFFFF
##8F37BE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#895577
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f37be;
/* rgb */ color: rgb(143, 55, 190);
/* oklch */ color: oklch(52.3% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#b475d2',
    500: '#8f37be',
    950: '#000000',
  },
}
SCSS
$custom: #8f37be;
$custom-light: #b475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37be",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 279.111,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.20553,
    "h": 311.1
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#8F37BE
secondary
#9ECA87
accent
#DE497D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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