#9D30BF#9D30BF

#9D30BF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.219 H 316.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9D30BF
RGBrgb(157, 48, 191)
HSLhsl(286, 60%, 47%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.8%, 74.9%, 0%, 25.1%)
CIE-LABlab(42.83, 64.04, -53.40)
CIE-LCHlch(42.83, 83.38, 320.18°)
OKLaboklab(53.56% 0.1594 -0.1504)
OKLCHoklch(53.56% 0.219 316.7)
XYZxyz(24.3641, 13.0446, 50.5146)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30BF #52BF30
analogous
#5530BF #9D30BF #BF309A
triadic
#9D30BF #BF9D30 #30BF9D
tetradic
#9D30BF #BF5530 #52BF30 #309ABF
square
#9D30BF #BF5530 #52BF30 #309ABF
split-complementary
#9D30BF #9ABF30 #30BF55
monochromatic
#4D175D #75248E #9D30BF #B757D5 #CC88E1

Accessibility & contrast

On white

5.82
#9D30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9D30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30BF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30BF#FFFFFF#000000##FFFFFF
##9D30BF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#9B4F76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d30bf;
/* rgb */ color: rgb(157, 48, 191);
/* oklch */ color: oklch(53.6% 0.219 316.7);
Tailwind
colors: {
  custom: {
    50: '#be74d3',
    500: '#9d30bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d30bf;
$custom-light: #be74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30bf",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 285.734,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.21911,
    "h": 316.7
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#9D30BF
secondary
#92CB80
accent
#E3456A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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