#8B32C1#8B32C1

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

Color values

HEX#8B32C1
RGBrgb(139, 50, 193)
HSLhsl(277, 59%, 48%)
HSVhsv(277, 74%, 76%)
CMYKcmyk(28%, 74.1%, 0%, 24.3%)
CIE-LABlab(40.61, 60.24, -58.29)
CIE-LCHlch(40.61, 83.82, 315.94°)
OKLaboklab(51.5% 0.1342 -0.1653)
OKLCHoklch(51.5% 0.213 309.1)
XYZxyz(21.4117, 11.6208, 51.5568)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32C1 #68C132
analogous
#4432C1 #8B32C1 #C132AF
triadic
#8B32C1 #C18B32 #32C18B
tetradic
#8B32C1 #C14432 #68C132 #32AFC1
square
#8B32C1 #C14432 #68C132 #32AFC1
split-complementary
#8B32C1 #AFC132 #32C144
monochromatic
#451960 #682590 #8B32C1 #A75CD5 #C18CE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B32C1#FFFFFF#000000##FFFFFF
##8B32C11.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)
#005CC5
Deuteranopia (green-blind)
#0261BE
Tritanopia (blue-blind)
#835477
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b32c1;
/* rgb */ color: rgb(139, 50, 193);
/* oklch */ color: oklch(51.5% 0.213 309.1);
Tailwind
colors: {
  custom: {
    50: '#b273d5',
    500: '#8b32c1',
    950: '#000000',
  },
}
SCSS
$custom: #8b32c1;
$custom-light: #b273d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32c1",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 277.343,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.21295,
    "h": 309.1
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#8B32C1
secondary
#9FCB83
accent
#E24681
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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