#9D30B9#9D30B9

#9D30B9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.214 H 318.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D30B9
RGBrgb(157, 48, 185)
HSLhsl(288, 59%, 46%)
HSVhsv(288, 74%, 73%)
CMYKcmyk(15.1%, 74.1%, 0%, 27.5%)
CIE-LABlab(42.44, 62.89, -50.51)
CIE-LCHlch(42.44, 80.66, 321.23°)
OKLaboklab(53.16% 0.1601 -0.1419)
OKLCHoklch(53.16% 0.214 318.4)
XYZxyz(23.7173, 12.7859, 47.1082)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30B9 #4CB930
analogous
#5830B9 #9D30B9 #B93090
triadic
#9D30B9 #B99D30 #30B99D
tetradic
#9D30B9 #B95830 #4CB930 #3090B9
square
#9D30B9 #B95830 #4CB930 #3090B9
split-complementary
#9D30B9 #90B930 #30B958
monochromatic
#4B1758 #742388 #9D30B9 #B954D3 #CD84DF

Accessibility & contrast

On white

5.90
#9D30B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D30B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30B9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30B9#FFFFFF#000000##FFFFFF
##9D30B91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3768B6
Tritanopia (blue-blind)
#9C4C72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d30b9;
/* rgb */ color: rgb(157, 48, 185);
/* oklch */ color: oklch(53.2% 0.214 318.4);
Tailwind
colors: {
  custom: {
    50: '#be73cf',
    500: '#9d30b9',
    950: '#000000',
  },
}
SCSS
$custom: #9d30b9;
$custom-light: #be73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30b9",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 287.737,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.21391,
    "h": 318.4
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#9D30B9
secondary
#8CC97C
accent
#E24666
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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