#9A30AB#9A30AB

#9A30AB is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.201 H 321.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9A30AB
RGBrgb(154, 48, 171)
HSLhsl(292, 56%, 43%)
HSVhsv(292, 72%, 67%)
CMYKcmyk(9.9%, 71.9%, 0%, 32.9%)
CIE-LABlab(41.10, 59.64, -44.41)
CIE-LCHlch(41.10, 74.36, 323.33°)
OKLaboklab(51.83% 0.1576 -0.1241)
OKLCHoklch(51.83% 0.201 321.8)
XYZxyz(21.7333, 11.9254, 39.6773)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30AB #41AB30
analogous
#5C30AB #9A30AB #AB307F
triadic
#9A30AB #AB9A30 #30AB9A
tetradic
#9A30AB #AB5C30 #41AB30 #307FAB
square
#9A30AB #AB5C30 #41AB30 #307FAB
split-complementary
#9A30AB #7FAB30 #30AB5C
monochromatic
#44154B #6F237B #9A30AB #BB4CCD #CD7BDA

Accessibility & contrast

On white

6.20
#9A30AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9A30AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30AB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30AB#FFFFFF#000000##FFFFFF
##9A30AB1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#9C476B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a30ab;
/* rgb */ color: rgb(154, 48, 171);
/* oklch */ color: oklch(51.8% 0.201 321.8);
Tailwind
colors: {
  custom: {
    50: '#bb73c4',
    500: '#9a30ab',
    950: '#000000',
  },
}
SCSS
$custom: #9a30ab;
$custom-light: #bb73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30ab",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 291.707,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.20061,
    "h": 321.8
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#9A30AB
secondary
#7FC374
accent
#DF485D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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