#9A30AF#9A30AF

#9A30AF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.204 H 320.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9A30AF
RGBrgb(154, 48, 175)
HSLhsl(290, 57%, 44%)
HSVhsv(290, 73%, 69%)
CMYKcmyk(12%, 72.6%, 0%, 31.4%)
CIE-LABlab(41.34, 60.38, -46.39)
CIE-LCHlch(41.34, 76.15, 322.47°)
OKLaboklab(52.08% 0.1574 -0.1299)
OKLCHoklch(52.08% 0.204 320.5)
XYZxyz(22.1203, 12.0802, 41.7157)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30AF #45AF30
analogous
#5A30AF #9A30AF #AF3084
triadic
#9A30AF #AF9A30 #30AF9A
tetradic
#9A30AF #AF5A30 #45AF30 #3084AF
square
#9A30AF #AF5A30 #45AF30 #3084AF
split-complementary
#9A30AF #84AF30 #30AF5A
monochromatic
#45164F #70237F #9A30AF #B94ECE #CC7EDC

Accessibility & contrast

On white

6.15
#9A30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30AF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30AF#FFFFFF#000000##FFFFFF
##9A30AF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#9B486D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a30af;
/* rgb */ color: rgb(154, 48, 175);
/* oklch */ color: oklch(52.1% 0.204 320.5);
Tailwind
colors: {
  custom: {
    50: '#bb73c7',
    500: '#9a30af',
    950: '#000000',
  },
}
SCSS
$custom: #9a30af;
$custom-light: #bb73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30af",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 290.079,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.20405,
    "h": 320.5
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#9A30AF
secondary
#83C476
accent
#E04861
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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