#9A30B5#9A30B5

#9A30B5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.209 H 318.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9A30B5
RGBrgb(154, 48, 181)
HSLhsl(288, 58%, 45%)
HSVhsv(288, 73%, 71%)
CMYKcmyk(14.9%, 73.5%, 0%, 29%)
CIE-LABlab(41.72, 61.52, -49.33)
CIE-LCHlch(41.72, 78.85, 321.27°)
OKLaboklab(52.48% 0.1569 -0.1385)
OKLCHoklch(52.48% 0.209 318.6)
XYZxyz(22.7227, 12.3212, 44.8884)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30B5 #4BB530
analogous
#5830B5 #9A30B5 #B5308D
triadic
#9A30B5 #B59A30 #30B59A
tetradic
#9A30B5 #B55830 #4BB530 #308DB5
square
#9A30B5 #B55830 #4BB530 #308DB5
split-complementary
#9A30B5 #8DB530 #30B558
monochromatic
#481654 #712385 #9A30B5 #B751D1 #CB82DE

Accessibility & contrast

On white

6.06
#9A30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9A30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30B5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30B5#FFFFFF#000000##FFFFFF
##9A30B51.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#994B70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a30b5;
/* rgb */ color: rgb(154, 48, 181);
/* oklch */ color: oklch(52.5% 0.209 318.6);
Tailwind
colors: {
  custom: {
    50: '#bc73cc',
    500: '#9a30b5',
    950: '#000000',
  },
}
SCSS
$custom: #9a30b5;
$custom-light: #bc73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30b5",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 287.82,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.20926,
    "h": 318.6
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#9A30B5
secondary
#8AC77A
accent
#E14666
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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