#8C32BF#8C32BF

#8C32BF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.211 H 310.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8C32BF
RGBrgb(140, 50, 191)
HSLhsl(278, 59%, 47%)
HSVhsv(278, 74%, 75%)
CMYKcmyk(26.7%, 73.8%, 0%, 25.1%)
CIE-LABlab(40.60, 60.00, -57.12)
CIE-LCHlch(40.60, 82.84, 316.41°)
OKLaboklab(51.48% 0.1359 -0.1618)
OKLCHoklch(51.48% 0.211 310)
XYZxyz(21.3579, 11.6187, 50.3976)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32BF #65BF32
analogous
#4632BF #8C32BF #BF32AB
triadic
#8C32BF #BF8C32 #32BF8C
tetradic
#8C32BF #BF4632 #65BF32 #32ABBF
square
#8C32BF #BF4632 #65BF32 #32ABBF
split-complementary
#8C32BF #ABBF32 #32BF46
monochromatic
#45195E #68258E #8C32BF #A85AD4 #C28BE1

Accessibility & contrast

On white

6.32
#8C32BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8C32BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C32BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32BF#FFFFFF#000000##FFFFFF
##8C32BF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#1061BC
Tritanopia (blue-blind)
#855376
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8c32bf;
/* rgb */ color: rgb(140, 50, 191);
/* oklch */ color: oklch(51.5% 0.211 310.0);
Tailwind
colors: {
  custom: {
    50: '#b273d3',
    500: '#8c32bf',
    950: '#000000',
  },
}
SCSS
$custom: #8c32bf;
$custom-light: #b273d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32bf",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 278.298,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.21133,
    "h": 310
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#8C32BF
secondary
#9CCB82
accent
#E2467E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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