#9B30C7#9B30C7

#9B30C7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.225 H 313.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B30C7
RGBrgb(155, 48, 199)
HSLhsl(283, 61%, 48%)
HSVhsv(283, 76%, 78%)
CMYKcmyk(22.1%, 75.9%, 0%, 22%)
CIE-LABlab(43.07, 65.23, -57.68)
CIE-LCHlch(43.07, 87.07, 318.51°)
OKLaboklab(53.84% 0.1557 -0.163)
OKLCHoklch(53.84% 0.225 313.7)
XYZxyz(24.8815, 13.2068, 55.2602)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B30C7 #5CC730
analogous
#5030C7 #9B30C7 #C730A7
triadic
#9B30C7 #C79B30 #30C79B
tetradic
#9B30C7 #C75030 #5CC730 #30A7C7
square
#9B30C7 #C75030 #5CC730 #30A7C7
split-complementary
#9B30C7 #A7C730 #30C750
monochromatic
#4E1864 #752496 #9B30C7 #B45CD8 #CB8EE4

Accessibility & contrast

On white

5.77
#9B30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9B30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B30C7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B30C7#FFFFFF#000000##FFFFFF
##9B30C71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#96537A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b30c7;
/* rgb */ color: rgb(155, 48, 199);
/* oklch */ color: oklch(53.8% 0.225 313.7);
Tailwind
colors: {
  custom: {
    50: '#bd74d9',
    500: '#9b30c7',
    950: '#000000',
  },
}
SCSS
$custom: #9b30c7;
$custom-light: #bd74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b30c7",
  "rgb": {
    "r": 155,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 282.517,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.22543,
    "h": 313.7
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#9B30C7
secondary
#9ACE85
accent
#E44472
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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