#9B30B2#9B30B2

#9B30B2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.207 H 319.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9B30B2
RGBrgb(155, 48, 178)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 73%, 70%)
CMYKcmyk(12.9%, 73%, 0%, 30.2%)
CIE-LABlab(41.69, 61.16, -47.61)
CIE-LCHlch(41.69, 77.50, 322.10°)
OKLaboklab(52.42% 0.1583 -0.1335)
OKLCHoklch(52.42% 0.207 319.9)
XYZxyz(22.6094, 12.2980, 43.2937)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30B2 #47B230
analogous
#5A30B2 #9B30B2 #B23088
triadic
#9B30B2 #B29B30 #30B29B
tetradic
#9B30B2 #B25A30 #47B230 #3088B2
square
#9B30B2 #B25A30 #47B230 #3088B2
split-complementary
#9B30B2 #88B230 #30B25A
monochromatic
#471652 #712382 #9B30B2 #B950D0 #CC80DD

Accessibility & contrast

On white

6.07
#9B30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B30B2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30B2#FFFFFF#000000##FFFFFF
##9B30B21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#9B496E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b30b2;
/* rgb */ color: rgb(155, 48, 178);
/* oklch */ color: oklch(52.4% 0.207 319.9);
Tailwind
colors: {
  custom: {
    50: '#bc73ca',
    500: '#9b30b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b30b2;
$custom-light: #bc73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30b2",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 289.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.20706,
    "h": 319.9
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#9B30B2
secondary
#86C678
accent
#E14762
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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