#9A32D2#9A32D2

#9A32D2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.7% C 0.233 H 310.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9A32D2
RGBrgb(154, 50, 210)
HSLhsl(279, 64%, 51%)
HSVhsv(279, 76%, 82%)
CMYKcmyk(26.7%, 76.2%, 0%, 17.6%)
CIE-LABlab(43.95, 66.57, -62.63)
CIE-LCHlch(43.95, 91.40, 316.75°)
OKLaboklab(54.68% 0.1508 -0.1776)
OKLCHoklch(54.68% 0.233 310.3)
XYZxyz(26.0976, 13.8050, 62.2501)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A32D2 #6AD232
analogous
#4A32D2 #9A32D2 #D232BA
triadic
#9A32D2 #D29A32 #32D29A
tetradic
#9A32D2 #D24A32 #6AD232 #32BAD2
square
#9A32D2 #D24A32 #6AD232 #32BAD2
split-complementary
#9A32D2 #BAD232 #32D24A
monochromatic
#521971 #7624A3 #9A32D2 #B364DD #CB96E8

Accessibility & contrast

On white

5.58
#9A32D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9A32D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A32D2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A32D2#FFFFFF#000000##FFFFFF
##9A32D21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#925981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a32d2;
/* rgb */ color: rgb(154, 50, 210);
/* oklch */ color: oklch(54.7% 0.233 310.3);
Tailwind
colors: {
  custom: {
    50: '#bd75e1',
    500: '#9a32d2',
    950: '#000000',
  },
}
SCSS
$custom: #9a32d2;
$custom-light: #bd75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a32d2",
  "rgb": {
    "r": 154,
    "g": 50,
    "b": 210
  },
  "hsl": {
    "h": 279,
    "s": 64,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.23295,
    "h": 310.3
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#9A32D2
secondary
#A5D38C
accent
#E7417B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A32D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9A32D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva