#9D30BA#9D30BA

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

Color values

HEX#9D30BA
RGBrgb(157, 48, 186)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 74%, 73%)
CMYKcmyk(15.6%, 74.2%, 0%, 27.1%)
CIE-LABlab(42.50, 63.08, -50.99)
CIE-LCHlch(42.50, 81.12, 321.05°)
OKLaboklab(53.23% 0.16 -0.1433)
OKLCHoklch(53.23% 0.215 318.1)
XYZxyz(23.8233, 12.8283, 47.6661)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30BA #4DBA30
analogous
#5830BA #9D30BA #BA3092
triadic
#9D30BA #BA9D30 #30BA9D
tetradic
#9D30BA #BA5830 #4DBA30 #3092BA
square
#9D30BA #BA5830 #4DBA30 #3092BA
split-complementary
#9D30BA #92BA30 #30BA58
monochromatic
#4B1759 #742389 #9D30BA #B854D3 #CC85DF

Accessibility & contrast

On white

5.89
#9D30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9D30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30BA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30BA#FFFFFF#000000##FFFFFF
##9D30BA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#9C4D73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d30ba;
/* rgb */ color: rgb(157, 48, 186);
/* oklch */ color: oklch(53.2% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#be74cf',
    500: '#9d30ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d30ba;
$custom-light: #be74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30ba",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 287.391,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.21477,
    "h": 318.1
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#9D30BA
secondary
#8DC97D
accent
#E24667
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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