#9A30A4#9A30A4

#9A30A4 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.195 H 324.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9A30A4
RGBrgb(154, 48, 164)
HSLhsl(295, 55%, 42%)
HSVhsv(295, 71%, 64%)
CMYKcmyk(6.1%, 70.7%, 0%, 35.7%)
CIE-LABlab(40.68, 58.36, -40.90)
CIE-LCHlch(40.68, 71.27, 324.98°)
OKLaboklab(51.4% 0.1579 -0.1139)
OKLCHoklch(51.4% 0.195 324.2)
XYZxyz(21.0837, 11.6656, 36.2559)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30A4 #3AA430
analogous
#6030A4 #9A30A4 #A43074
triadic
#9A30A4 #A49A30 #30A49A
tetradic
#9A30A4 #A46030 #3AA430 #3074A4
square
#9A30A4 #A46030 #3AA430 #3074A4
split-complementary
#9A30A4 #74A430 #30A460
monochromatic
#411445 #6E2275 #9A30A4 #BE48C9 #CF77D7

Accessibility & contrast

On white

6.30
#9A30A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9A30A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30A4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30A4#FFFFFF#000000##FFFFFF
##9A30A41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#9D4467
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a30a4;
/* rgb */ color: rgb(154, 48, 164);
/* oklch */ color: oklch(51.4% 0.195 324.2);
Tailwind
colors: {
  custom: {
    50: '#bb72bf',
    500: '#9a30a4',
    950: '#000000',
  },
}
SCSS
$custom: #9a30a4;
$custom-light: #bb72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30a4",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 294.828,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.19464,
    "h": 324.2
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

primary
#9A30A4
secondary
#77BF70
accent
#DE4A57
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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