#9D30B2#9D30B2

#9D30B2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.208 H 320.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9D30B2
RGBrgb(157, 48, 178)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 73%, 70%)
CMYKcmyk(11.8%, 73%, 0%, 30.2%)
CIE-LABlab(42.00, 61.58, -47.09)
CIE-LCHlch(42.00, 77.52, 322.59°)
OKLaboklab(52.7% 0.1607 -0.1319)
OKLCHoklch(52.7% 0.208 320.6)
XYZxyz(22.9965, 12.4976, 43.3118)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30B2 #45B230
analogous
#5C30B2 #9D30B2 #B23086
triadic
#9D30B2 #B29D30 #30B29D
tetradic
#9D30B2 #B25C30 #45B230 #3086B2
square
#9D30B2 #B25C30 #45B230 #3086B2
split-complementary
#9D30B2 #86B230 #30B25C
monochromatic
#481652 #722382 #9D30B2 #BB50D0 #CE80DD

Accessibility & contrast

On white

6.00
#9D30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9D30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30B2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30B2#FFFFFF#000000##FFFFFF
##9D30B21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d30b2;
/* rgb */ color: rgb(157, 48, 178);
/* oklch */ color: oklch(52.7% 0.208 320.6);
Tailwind
colors: {
  custom: {
    50: '#be73ca',
    500: '#9d30b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d30b2;
$custom-light: #be73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30b2",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 290.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.20789,
    "h": 320.6
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#9D30B2
secondary
#85C678
accent
#E14760
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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