#8D32B7#8D32B7

#8D32B7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.0% C 0.204 H 312.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D32B7
RGBrgb(141, 50, 183)
HSLhsl(281, 57%, 46%)
HSVhsv(281, 73%, 72%)
CMYKcmyk(23%, 72.7%, 0%, 28.2%)
CIE-LABlab(40.19, 58.50, -53.08)
CIE-LCHlch(40.19, 79.00, 317.78°)
OKLaboklab(51.03% 0.1384 -0.15)
OKLCHoklch(51.03% 0.204 312.7)
XYZxyz(20.6708, 11.3634, 45.8950)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32B7 #5CB732
analogous
#4B32B7 #8D32B7 #B7329E
triadic
#8D32B7 #B78D32 #32B78D
tetradic
#8D32B7 #B74B32 #5CB732 #329EB7
square
#8D32B7 #B74B32 #5CB732 #329EB7
split-complementary
#8D32B7 #9EB732 #32B74B
monochromatic
#431857 #682587 #8D32B7 #AA56D1 #C286DE

Accessibility & contrast

On white

6.42
#8D32B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D32B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32B7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32B7#FFFFFF#000000##FFFFFF
##8D32B71.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2461B4
Tritanopia (blue-blind)
#884F72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d32b7;
/* rgb */ color: rgb(141, 50, 183);
/* oklch */ color: oklch(51.0% 0.204 312.7);
Tailwind
colors: {
  custom: {
    50: '#b372cd',
    500: '#8d32b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d32b7;
$custom-light: #b372cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32b7",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 281.053,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.20407,
    "h": 312.7
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#8D32B7
secondary
#95C77D
accent
#E04778
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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