#9B30C3#9B30C3

#9B30C3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.222 H 314.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B30C3
RGBrgb(155, 48, 195)
HSLhsl(284, 60%, 48%)
HSVhsv(284, 75%, 76%)
CMYKcmyk(20.5%, 75.4%, 0%, 23.5%)
CIE-LABlab(42.80, 64.43, -55.80)
CIE-LCHlch(42.80, 85.24, 319.11°)
OKLaboklab(53.56% 0.1564 -0.1575)
OKLCHoklch(53.56% 0.222 314.8)
XYZxyz(24.4232, 13.0235, 52.8464)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30C3 #58C330
analogous
#5130C3 #9B30C3 #C330A2
triadic
#9B30C3 #C39B30 #30C39B
tetradic
#9B30C3 #C35130 #58C330 #30A2C3
square
#9B30C3 #C35130 #58C330 #30A2C3
split-complementary
#9B30C3 #A2C330 #30C351
monochromatic
#4D1861 #742492 #9B30C3 #B45AD6 #CB8BE2

Accessibility & contrast

On white

5.83
#9B30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9B30C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30C3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30C3#FFFFFF#000000##FFFFFF
##9B30C31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#975178
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b30c3;
/* rgb */ color: rgb(155, 48, 195);
/* oklch */ color: oklch(53.6% 0.222 314.8);
Tailwind
colors: {
  custom: {
    50: '#bd74d6',
    500: '#9b30c3',
    950: '#000000',
  },
}
SCSS
$custom: #9b30c3;
$custom-light: #bd74d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30c3",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 283.673,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.22191,
    "h": 314.8
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#9B30C3
secondary
#96CC82
accent
#E44470
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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