#8A32C0#8A32C0

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

Color values

HEX#8A32C0
RGBrgb(138, 50, 192)
HSLhsl(277, 59%, 47%)
HSVhsv(277, 74%, 75%)
CMYKcmyk(28.1%, 74%, 0%, 24.7%)
CIE-LABlab(40.39, 59.83, -58.05)
CIE-LCHlch(40.39, 83.37, 315.87°)
OKLaboklab(51.29% 0.1331 -0.1647)
OKLCHoklch(51.29% 0.212 308.9)
XYZxyz(21.1343, 11.4906, 50.9635)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32C0 #68C032
analogous
#4332C0 #8A32C0 #C032AF
triadic
#8A32C0 #C08A32 #32C08A
tetradic
#8A32C0 #C04332 #68C032 #32AFC0
square
#8A32C0 #C04332 #68C032 #32AFC0
split-complementary
#8A32C0 #AFC032 #32C043
monochromatic
#44195F #67258F #8A32C0 #A65BD4 #C08BE1

Accessibility & contrast

On white

6.37
#8A32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32C0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32C0#FFFFFF#000000##FFFFFF
##8A32C01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#825377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a32c0;
/* rgb */ color: rgb(138, 50, 192);
/* oklch */ color: oklch(51.3% 0.212 308.9);
Tailwind
colors: {
  custom: {
    50: '#b173d4',
    500: '#8a32c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a32c0;
$custom-light: #b173d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32c0",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 277.183,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.21171,
    "h": 308.9
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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