#9D30B1#9D30B1

#9D30B1 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.207 H 320.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9D30B1
RGBrgb(157, 48, 177)
HSLhsl(291, 57%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(11.3%, 72.9%, 0%, 30.6%)
CIE-LABlab(41.93, 61.39, -46.60)
CIE-LCHlch(41.93, 77.08, 322.80°)
OKLaboklab(52.64% 0.1608 -0.1304)
OKLCHoklch(52.64% 0.207 320.9)
XYZxyz(22.8965, 12.4575, 42.7850)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30B1 #44B130
analogous
#5D30B1 #9D30B1 #B13085
triadic
#9D30B1 #B19D30 #30B19D
tetradic
#9D30B1 #B15D30 #44B130 #3085B1
square
#9D30B1 #B15D30 #44B130 #3085B1
split-complementary
#9D30B1 #85B130 #30B15D
monochromatic
#481651 #722381 #9D30B1 #BB4FCF #CE7FDC

Accessibility & contrast

On white

6.02
#9D30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D30B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30B1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30B1#FFFFFF#000000##FFFFFF
##9D30B11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#9E496E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d30b1;
/* rgb */ color: rgb(157, 48, 177);
/* oklch */ color: oklch(52.6% 0.207 320.9);
Tailwind
colors: {
  custom: {
    50: '#be73c9',
    500: '#9d30b1',
    950: '#000000',
  },
}
SCSS
$custom: #9d30b1;
$custom-light: #be73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30b1",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 290.698,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.20703,
    "h": 320.9
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#9D30B1
secondary
#84C578
accent
#E1475F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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