#9D30BE#9D30BE

#9D30BE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.218 H 317.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D30BE
RGBrgb(157, 48, 190)
HSLhsl(286, 60%, 47%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.4%, 74.7%, 0%, 25.5%)
CIE-LABlab(42.76, 63.85, -52.92)
CIE-LCHlch(42.76, 82.93, 320.35°)
OKLaboklab(53.49% 0.1595 -0.1489)
OKLCHoklch(53.49% 0.218 317)
XYZxyz(24.2545, 13.0007, 49.9370)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30BE #51BE30
analogous
#5630BE #9D30BE #BE3098
triadic
#9D30BE #BE9D30 #30BE9D
tetradic
#9D30BE #BE5630 #51BE30 #3098BE
square
#9D30BE #BE5630 #51BE30 #3098BE
split-complementary
#9D30BE #98BE30 #30BE56
monochromatic
#4C175C #75248D #9D30BE #B757D4 #CC88E1

Accessibility & contrast

On white

5.83
#9D30BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D30BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30BE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30BE#FFFFFF#000000##FFFFFF
##9D30BE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#9B4E75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d30be;
/* rgb */ color: rgb(157, 48, 190);
/* oklch */ color: oklch(53.5% 0.218 317.0);
Tailwind
colors: {
  custom: {
    50: '#be74d2',
    500: '#9d30be',
    950: '#000000',
  },
}
SCSS
$custom: #9d30be;
$custom-light: #be74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30be",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 286.056,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.21824,
    "h": 317
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#9D30BE
secondary
#91CB7F
accent
#E3456A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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