#9A30AC#9A30AC

#9A30AC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 51.9% C 0.201 H 321.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9A30AC
RGBrgb(154, 48, 172)
HSLhsl(291, 56%, 43%)
HSVhsv(291, 72%, 67%)
CMYKcmyk(10.5%, 72.1%, 0%, 32.5%)
CIE-LABlab(41.16, 59.82, -44.91)
CIE-LCHlch(41.16, 74.80, 323.11°)
OKLaboklab(51.89% 0.1575 -0.1256)
OKLCHoklch(51.89% 0.201 321.4)
XYZxyz(21.8289, 11.9637, 40.1811)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30AC #42AC30
analogous
#5C30AC #9A30AC #AC3080
triadic
#9A30AC #AC9A30 #30AC9A
tetradic
#9A30AC #AC5C30 #42AC30 #3080AC
square
#9A30AC #AC5C30 #42AC30 #3080AC
split-complementary
#9A30AC #80AC30 #30AC5C
monochromatic
#44154C #6F237C #9A30AC #BA4CCD #CD7CDA

Accessibility & contrast

On white

6.19
#9A30AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9A30AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30AC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30AC#FFFFFF#000000##FFFFFF
##9A30AC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#9B476B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a30ac;
/* rgb */ color: rgb(154, 48, 172);
/* oklch */ color: oklch(51.9% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#bb73c5',
    500: '#9a30ac',
    950: '#000000',
  },
}
SCSS
$custom: #9a30ac;
$custom-light: #bb73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30ac",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 291.29,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.20146,
    "h": 321.4
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#9A30AC
secondary
#80C375
accent
#E0485E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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