#9D30A3#9D30A3

#9D30A3 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.195 H 325.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9D30A3
RGBrgb(157, 48, 163)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 64%)
CMYKcmyk(3.7%, 70.6%, 0%, 36.1%)
CIE-LABlab(41.10, 58.87, -39.60)
CIE-LCHlch(41.10, 70.95, 326.07°)
OKLaboklab(51.78% 0.1613 -0.11)
OKLCHoklch(51.78% 0.195 325.7)
XYZxyz(21.5720, 11.9277, 35.8093)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30A3 #36A330
analogous
#6430A3 #9D30A3 #A33070
triadic
#9D30A3 #A39D30 #30A39D
tetradic
#9D30A3 #A36430 #36A330 #3070A3
square
#9D30A3 #A36430 #36A330 #3070A3
split-complementary
#9D30A3 #70A330 #30A364
monochromatic
#421444 #6F2274 #9D30A3 #C247C9 #D277D7

Accessibility & contrast

On white

6.20
#9D30A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9D30A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30A3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30A3#FFFFFF#000000##FFFFFF
##9D30A31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#A14266
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d30a3;
/* rgb */ color: rgb(157, 48, 163);
/* oklch */ color: oklch(51.8% 0.195 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd73bf',
    500: '#9d30a3',
    950: '#000000',
  },
}
SCSS
$custom: #9d30a3;
$custom-light: #bd73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30a3",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 296.87,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.19524,
    "h": 325.7
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#9D30A3
secondary
#74BF70
accent
#DE4A52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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