#8C32AF#8C32AF

#8C32AF is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.196 H 314.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8C32AF
RGBrgb(140, 50, 175)
HSLhsl(283, 56%, 44%)
HSVhsv(283, 71%, 69%)
CMYKcmyk(20%, 71.4%, 0%, 31.4%)
CIE-LABlab(39.50, 56.64, -49.46)
CIE-LCHlch(39.50, 75.20, 318.87°)
OKLaboklab(50.34% 0.1381 -0.1394)
OKLCHoklch(50.34% 0.196 314.7)
XYZxyz(19.6924, 10.9525, 41.6258)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32AF #55AF32
analogous
#4E32AF #8C32AF #AF3294
triadic
#8C32AF #AF8C32 #32AF8C
tetradic
#8C32AF #AF4E32 #55AF32 #3294AF
square
#8C32AF #AF4E32 #55AF32 #3294AF
split-complementary
#8C32AF #94AF32 #32AF4E
monochromatic
#401750 #66247F #8C32AF #AA51CD #C281DB

Accessibility & contrast

On white

6.58
#8C32AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8C32AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C32AF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32AF#FFFFFF#000000##FFFFFF
##8C32AF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#894C6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c32af;
/* rgb */ color: rgb(140, 50, 175);
/* oklch */ color: oklch(50.3% 0.196 314.7);
Tailwind
colors: {
  custom: {
    50: '#b172c8',
    500: '#8c32af',
    950: '#000000',
  },
}
SCSS
$custom: #8c32af;
$custom-light: #b172c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32af",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 283.2,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.19619,
    "h": 314.7
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#8C32AF
secondary
#8EC479
accent
#DF4973
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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