#8132CC#8132CC

#8132CC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.221 H 302.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8132CC
RGBrgb(129, 50, 204)
HSLhsl(271, 61%, 50%)
HSVhsv(271, 75%, 80%)
CMYKcmyk(36.8%, 75.5%, 0%, 20%)
CIE-LABlab(40.09, 60.92, -65.59)
CIE-LCHlch(40.09, 89.51, 312.89°)
OKLaboklab(51.11% 0.1183 -0.1871)
OKLCHoklch(51.11% 0.221 302.3)
XYZxyz(21.0903, 11.3079, 58.1866)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8132CC #7DCC32
analogous
#3432CC #8132CC #CC32CA
triadic
#8132CC #CC8132 #32CC81
tetradic
#8132CC #CC3432 #7DCC32 #32CACC
square
#8132CC #CC3432 #7DCC32 #32CACC
split-complementary
#8132CC #CACC32 #32CC34
monochromatic
#431A6A #62269B #8132CC #9F63D9 #BD94E5

Accessibility & contrast

On white

6.44
#8132CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8132CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8132CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8132CC#FFFFFF#000000##FFFFFF
##8132CC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#715A7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8132cc;
/* rgb */ color: rgb(129, 50, 204);
/* oklch */ color: oklch(51.1% 0.221 302.3);
Tailwind
colors: {
  custom: {
    50: '#ac72dd',
    500: '#8132cc',
    950: '#000000',
  },
}
SCSS
$custom: #8132cc;
$custom-light: #ac72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8132cc",
  "rgb": {
    "r": 129,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 270.779,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.22137,
    "h": 302.3
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#8132CC
secondary
#ACD08A
accent
#E44492
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8132CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8132CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva