#8F32B7#8F32B7

#8F32B7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 313.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8F32B7
RGBrgb(143, 50, 183)
HSLhsl(282, 57%, 46%)
HSVhsv(282, 73%, 72%)
CMYKcmyk(21.9%, 72.7%, 0%, 28.2%)
CIE-LABlab(40.48, 58.91, -52.60)
CIE-LCHlch(40.48, 78.97, 318.24°)
OKLaboklab(51.3% 0.141 -0.1485)
OKLCHoklch(51.3% 0.205 313.5)
XYZxyz(21.0141, 11.5404, 45.9111)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32B7 #5AB732
analogous
#4C32B7 #8F32B7 #B7329C
triadic
#8F32B7 #B78F32 #32B78F
tetradic
#8F32B7 #B74C32 #5AB732 #329CB7
square
#8F32B7 #B74C32 #5AB732 #329CB7
split-complementary
#8F32B7 #9CB732 #32B74C
monochromatic
#441857 #692587 #8F32B7 #AC56D1 #C386DE

Accessibility & contrast

On white

6.35
#8F32B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8F32B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32B7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32B7#FFFFFF#000000##FFFFFF
##8F32B71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2762B4
Tritanopia (blue-blind)
#8B4F72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f32b7;
/* rgb */ color: rgb(143, 50, 183);
/* oklch */ color: oklch(51.3% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#b473cd',
    500: '#8f32b7',
    950: '#000000',
  },
}
SCSS
$custom: #8f32b7;
$custom-light: #b473cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32b7",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 281.955,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.20475,
    "h": 313.5
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#8F32B7
secondary
#94C77D
accent
#E04775
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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