#9D30AB#9D30AB

#9D30AB is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 322.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9D30AB
RGBrgb(157, 48, 171)
HSLhsl(293, 56%, 43%)
HSVhsv(293, 72%, 67%)
CMYKcmyk(8.2%, 71.9%, 0%, 32.9%)
CIE-LABlab(41.57, 60.29, -43.63)
CIE-LCHlch(41.57, 74.42, 324.11°)
OKLaboklab(52.26% 0.1611 -0.1217)
OKLCHoklch(52.26% 0.202 322.9)
XYZxyz(22.3116, 12.2236, 39.7044)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30AB #3EAB30
analogous
#6030AB #9D30AB #AB307B
triadic
#9D30AB #AB9D30 #30AB9D
tetradic
#9D30AB #AB6030 #3EAB30 #307BAB
square
#9D30AB #AB6030 #3EAB30 #307BAB
split-complementary
#9D30AB #7BAB30 #30AB60
monochromatic
#45154B #71237B #9D30AB #BE4CCD #CF7BDA

Accessibility & contrast

On white

6.10
#9D30AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9D30AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30AB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30AB#FFFFFF#000000##FFFFFF
##9D30AB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#9F466B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d30ab;
/* rgb */ color: rgb(157, 48, 171);
/* oklch */ color: oklch(52.3% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#be73c4',
    500: '#9d30ab',
    950: '#000000',
  },
}
SCSS
$custom: #9d30ab;
$custom-light: #be73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30ab",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 293.171,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.20193,
    "h": 322.9
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#9D30AB
secondary
#7DC374
accent
#DF485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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