#9730B1#9730B1

#9730B1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.205 H 318.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9730B1
RGBrgb(151, 48, 177)
HSLhsl(288, 57%, 44%)
HSVhsv(288, 73%, 69%)
CMYKcmyk(14.7%, 72.9%, 0%, 30.6%)
CIE-LABlab(41.01, 60.13, -48.14)
CIE-LCHlch(41.01, 77.03, 321.32°)
OKLaboklab(51.79% 0.1536 -0.1351)
OKLCHoklch(51.79% 0.205 318.7)
XYZxyz(21.7542, 11.8686, 42.7314)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B1 #4AB130
analogous
#5730B1 #9730B1 #B1308B
triadic
#9730B1 #B19730 #30B197
tetradic
#9730B1 #B15730 #4AB130 #308BB1
square
#9730B1 #B15730 #4AB130 #308BB1
split-complementary
#9730B1 #8BB130 #30B157
monochromatic
#451651 #6E2381 #9730B1 #B54FCF #CA7FDC

Accessibility & contrast

On white

6.22
#9730B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9730B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730B1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B1#FFFFFF#000000##FFFFFF
##9730B11.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#974A6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9730b1;
/* rgb */ color: rgb(151, 48, 177);
/* oklch */ color: oklch(51.8% 0.205 318.7);
Tailwind
colors: {
  custom: {
    50: '#b972c9',
    500: '#9730b1',
    950: '#000000',
  },
}
SCSS
$custom: #9730b1;
$custom-light: #b972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b1",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 287.907,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.20457,
    "h": 318.7
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#9730B1
secondary
#87C578
accent
#E14766
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9730B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9730B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva