#9730B7#9730B7

#9730B7 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.210 H 316.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9730B7
RGBrgb(151, 48, 183)
HSLhsl(286, 58%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(17.5%, 73.8%, 0%, 28.2%)
CIE-LABlab(41.40, 61.29, -51.06)
CIE-LCHlch(41.40, 79.77, 320.20°)
OKLaboklab(52.19% 0.153 -0.1437)
OKLCHoklch(52.19% 0.21 316.8)
XYZxyz(22.3654, 12.1130, 45.9505)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B7 #50B730
analogous
#5430B7 #9730B7 #B73093
triadic
#9730B7 #B79730 #30B797
tetradic
#9730B7 #B75430 #50B730 #3093B7
square
#9730B7 #B75430 #50B730 #3093B7
split-complementary
#9730B7 #93B730 #30B754
monochromatic
#471756 #6F2387 #9730B7 #B452D2 #C983DE

Accessibility & contrast

On white

6.14
#9730B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9730B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730B7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B7#FFFFFF#000000##FFFFFF
##9730B71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3165B4
Tritanopia (blue-blind)
#954C71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9730b7;
/* rgb */ color: rgb(151, 48, 183);
/* oklch */ color: oklch(52.2% 0.210 316.8);
Tailwind
colors: {
  custom: {
    50: '#ba73cd',
    500: '#9730b7',
    950: '#000000',
  },
}
SCSS
$custom: #9730b7;
$custom-light: #ba73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b7",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 285.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.20987,
    "h": 316.8
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#9730B7
secondary
#8DC87B
accent
#E2466B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9730B7

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

Preview Lab → · Contrast checker → · Palette generator →

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