#9D30BD#9D30BD

#9D30BD is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.217 H 317.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9D30BD
RGBrgb(157, 48, 189)
HSLhsl(286, 59%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(16.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(42.70, 63.66, -52.44)
CIE-LCHlch(42.70, 82.47, 320.52°)
OKLaboklab(53.43% 0.1596 -0.1475)
OKLCHoklch(53.43% 0.217 317.3)
XYZxyz(24.1455, 12.9572, 49.3634)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30BD #50BD30
analogous
#5730BD #9D30BD #BD3097
triadic
#9D30BD #BD9D30 #30BD9D
tetradic
#9D30BD #BD5730 #50BD30 #3097BD
square
#9D30BD #BD5730 #50BD30 #3097BD
split-complementary
#9D30BD #97BD30 #30BD57
monochromatic
#4C175B #74248C #9D30BD #B856D4 #CC87E0

Accessibility & contrast

On white

5.85
#9D30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30BD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30BD#FFFFFF#000000##FFFFFF
##9D30BD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#9B4E75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d30bd;
/* rgb */ color: rgb(157, 48, 189);
/* oklch */ color: oklch(53.4% 0.217 317.3);
Tailwind
colors: {
  custom: {
    50: '#be74d2',
    500: '#9d30bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d30bd;
$custom-light: #be74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30bd",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 286.383,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.21736,
    "h": 317.3
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#9D30BD
secondary
#90CA7F
accent
#E34569
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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