#9730B5#9730B5

#9730B5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.208 H 317.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9730B5
RGBrgb(151, 48, 181)
HSLhsl(286, 58%, 45%)
HSVhsv(286, 73%, 71%)
CMYKcmyk(16.6%, 73.5%, 0%, 29%)
CIE-LABlab(41.26, 60.90, -50.09)
CIE-LCHlch(41.26, 78.86, 320.56°)
OKLaboklab(52.06% 0.1532 -0.1408)
OKLCHoklch(52.06% 0.208 317.4)
XYZxyz(22.1587, 12.0304, 44.8620)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B5 #4EB530
analogous
#5430B5 #9730B5 #B53091
triadic
#9730B5 #B59730 #30B597
tetradic
#9730B5 #B55430 #4EB530 #3091B5
square
#9730B5 #B55430 #4EB530 #3091B5
split-complementary
#9730B5 #91B530 #30B554
monochromatic
#461654 #6F2385 #9730B5 #B451D1 #C982DE

Accessibility & contrast

On white

6.17
#9730B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9730B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730B5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B5#FFFFFF#000000##FFFFFF
##9730B51.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3464B2
Tritanopia (blue-blind)
#964C70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9730b5;
/* rgb */ color: rgb(151, 48, 181);
/* oklch */ color: oklch(52.1% 0.208 317.4);
Tailwind
colors: {
  custom: {
    50: '#ba73cc',
    500: '#9730b5',
    950: '#000000',
  },
}
SCSS
$custom: #9730b5;
$custom-light: #ba73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b5",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 286.466,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.20809,
    "h": 317.4
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#9730B5
secondary
#8BC77A
accent
#E14669
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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