#9A30A2#9A30A2

#9A30A2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 324.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9A30A2
RGBrgb(154, 48, 162)
HSLhsl(296, 54%, 41%)
HSVhsv(296, 70%, 64%)
CMYKcmyk(4.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(40.56, 58.01, -39.89)
CIE-LCHlch(40.56, 70.40, 325.49°)
OKLaboklab(51.28% 0.1579 -0.1109)
OKLCHoklch(51.28% 0.193 324.9)
XYZxyz(20.9045, 11.5939, 35.3122)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30A2 #38A230
analogous
#6130A2 #9A30A2 #A23071
triadic
#9A30A2 #A29A30 #30A29A
tetradic
#9A30A2 #A26130 #38A230 #3071A2
square
#9A30A2 #A26130 #38A230 #3071A2
split-complementary
#9A30A2 #71A230 #30A261
monochromatic
#401444 #6D2273 #9A30A2 #BF47C8 #D076D6

Accessibility & contrast

On white

6.33
#9A30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9A30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30A2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30A2#FFFFFF#000000##FFFFFF
##9A30A21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#9D4366
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a30a2;
/* rgb */ color: rgb(154, 48, 162);
/* oklch */ color: oklch(51.3% 0.193 324.9);
Tailwind
colors: {
  custom: {
    50: '#bb72be',
    500: '#9a30a2',
    950: '#000000',
  },
}
SCSS
$custom: #9a30a2;
$custom-light: #bb72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30a2",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 295.789,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.19296,
    "h": 324.9
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#9A30A2
secondary
#75BE6F
accent
#DE4A55
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9A30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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