#8F37B2#8F37B2

#8F37B2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.194 H 314.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8F37B2
RGBrgb(143, 55, 178)
HSLhsl(283, 53%, 46%)
HSVhsv(283, 69%, 70%)
CMYKcmyk(19.7%, 69.1%, 0%, 30.2%)
CIE-LABlab(40.88, 55.81, -49.01)
CIE-LCHlch(40.88, 74.27, 318.71°)
OKLaboklab(51.48% 0.1363 -0.138)
OKLCHoklch(51.48% 0.194 314.7)
XYZxyz(20.7284, 11.7871, 43.2941)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37B2 #5AB237
analogous
#5137B2 #8F37B2 #B23797
triadic
#8F37B2 #B28F37 #37B28F
tetradic
#8F37B2 #B25137 #5AB237 #3797B2
square
#8F37B2 #B25137 #5AB237 #3797B2
split-complementary
#8F37B2 #97B237 #37B251
monochromatic
#441A54 #692983 #8F37B2 #AC5ACC #C389DB

Accessibility & contrast

On white

6.26
#8F37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8F37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37B2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37B2#FFFFFF#000000##FFFFFF
##8F37B21.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3263AF
Tritanopia (blue-blind)
#8C5070
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f37b2;
/* rgb */ color: rgb(143, 55, 178);
/* oklch */ color: oklch(51.5% 0.194 314.7);
Tailwind
colors: {
  custom: {
    50: '#b375ca',
    500: '#8f37b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f37b2;
$custom-light: #b375ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37b2",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 282.927,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.19396,
    "h": 314.7
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#8F37B2
secondary
#94C580
accent
#DC4C75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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