#9B30A2#9B30A2

#9B30A2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.193 H 325.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9B30A2
RGBrgb(155, 48, 162)
HSLhsl(296, 54%, 41%)
HSVhsv(296, 70%, 64%)
CMYKcmyk(4.3%, 70.4%, 0%, 36.5%)
CIE-LABlab(40.72, 58.23, -39.62)
CIE-LCHlch(40.72, 70.44, 325.77°)
OKLaboklab(51.42% 0.159 -0.1101)
OKLCHoklch(51.42% 0.193 325.3)
XYZxyz(21.0956, 11.6924, 35.3211)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30A2 #37A230
analogous
#6230A2 #9B30A2 #A23070
triadic
#9B30A2 #A29B30 #30A29B
tetradic
#9B30A2 #A26230 #37A230 #3070A2
square
#9B30A2 #A26230 #37A230 #3070A2
split-complementary
#9B30A2 #70A230 #30A262
monochromatic
#411444 #6E2273 #9B30A2 #C047C8 #D076D6

Accessibility & contrast

On white

6.29
#9B30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9B30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30A2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30A2#FFFFFF#000000##FFFFFF
##9B30A21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#47659F
Tritanopia (blue-blind)
#9F4266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b30a2;
/* rgb */ color: rgb(155, 48, 162);
/* oklch */ color: oklch(51.4% 0.193 325.3);
Tailwind
colors: {
  custom: {
    50: '#bc72be',
    500: '#9b30a2',
    950: '#000000',
  },
}
SCSS
$custom: #9b30a2;
$custom-light: #bc72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30a2",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 296.316,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.19344,
    "h": 325.3
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#9B30A2
secondary
#74BE6F
accent
#DE4A53
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9B30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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