#8C32BD#8C32BD

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

Color values

HEX#8C32BD
RGBrgb(140, 50, 189)
HSLhsl(279, 58%, 47%)
HSVhsv(279, 74%, 74%)
CMYKcmyk(25.9%, 73.5%, 0%, 25.9%)
CIE-LABlab(40.46, 59.57, -56.17)
CIE-LCHlch(40.46, 81.88, 316.68°)
OKLaboklab(51.33% 0.1362 -0.1591)
OKLCHoklch(51.33% 0.209 310.6)
XYZxyz(21.1393, 11.5313, 49.2464)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32BD #63BD32
analogous
#4732BD #8C32BD #BD32A9
triadic
#8C32BD #BD8C32 #32BD8C
tetradic
#8C32BD #BD4732 #63BD32 #32A9BD
square
#8C32BD #BD4732 #63BD32 #32A9BD
split-complementary
#8C32BD #A9BD32 #32BD47
monochromatic
#44185C #68258D #8C32BD #A859D3 #C189E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C32BD#FFFFFF#000000##FFFFFF
##8C32BD1.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)
#005BC1
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#855275
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c32bd;
/* rgb */ color: rgb(140, 50, 189);
/* oklch */ color: oklch(51.3% 0.209 310.6);
Tailwind
colors: {
  custom: {
    50: '#b273d2',
    500: '#8c32bd',
    950: '#000000',
  },
}
SCSS
$custom: #8c32bd;
$custom-light: #b273d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32bd",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 278.849,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.20943,
    "h": 310.6
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#8C32BD
secondary
#9BCA81
accent
#E1467D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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