#8A32C5#8A32C5

#8A32C5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.217 H 307.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A32C5
RGBrgb(138, 50, 197)
HSLhsl(276, 60%, 48%)
HSVhsv(276, 75%, 77%)
CMYKcmyk(29.9%, 74.6%, 0%, 22.7%)
CIE-LABlab(40.76, 60.92, -60.38)
CIE-LCHlch(40.76, 85.77, 315.26°)
OKLaboklab(51.67% 0.1322 -0.1715)
OKLCHoklch(51.67% 0.217 307.6)
XYZxyz(21.6977, 11.7160, 53.9309)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32C5 #6DC532
analogous
#4032C5 #8A32C5 #C532B6
triadic
#8A32C5 #C58A32 #32C58A
tetradic
#8A32C5 #C54032 #6DC532 #32B6C5
square
#8A32C5 #C54032 #6DC532 #32B6C5
split-complementary
#8A32C5 #B6C532 #32C540
monochromatic
#461963 #682694 #8A32C5 #A65ED6 #C18FE3

Accessibility & contrast

On white

6.28
#8A32C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32C5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32C5#FFFFFF#000000##FFFFFF
##8A32C51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#80567A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a32c5;
/* rgb */ color: rgb(138, 50, 197);
/* oklch */ color: oklch(51.7% 0.217 307.6);
Tailwind
colors: {
  custom: {
    50: '#b173d7',
    500: '#8a32c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a32c5;
$custom-light: #b173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32c5",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 275.918,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.21651,
    "h": 307.6
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#8A32C5
secondary
#A2CD86
accent
#E34584
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8A32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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