#9730B4#9730B4

#9730B4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 317.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9730B4
RGBrgb(151, 48, 180)
HSLhsl(287, 58%, 45%)
HSVhsv(287, 73%, 71%)
CMYKcmyk(16.1%, 73.3%, 0%, 29.4%)
CIE-LABlab(41.20, 60.71, -49.61)
CIE-LCHlch(41.20, 78.40, 320.75°)
OKLaboklab(51.99% 0.1533 -0.1394)
OKLCHoklch(51.99% 0.207 317.7)
XYZxyz(22.0565, 11.9895, 44.3235)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B4 #4DB430
analogous
#5530B4 #9730B4 #B4308F
triadic
#9730B4 #B49730 #30B497
tetradic
#9730B4 #B45530 #4DB430 #308FB4
square
#9730B4 #B45530 #4DB430 #308FB4
split-complementary
#9730B4 #8FB430 #30B455
monochromatic
#461653 #6E2384 #9730B4 #B451D1 #C981DD

Accessibility & contrast

On white

6.18
#9730B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9730B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730B4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B4#FFFFFF#000000##FFFFFF
##9730B41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#964B70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9730b4;
/* rgb */ color: rgb(151, 48, 180);
/* oklch */ color: oklch(52.0% 0.207 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba73cb',
    500: '#9730b4',
    950: '#000000',
  },
}
SCSS
$custom: #9730b4;
$custom-light: #ba73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b4",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 286.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.20722,
    "h": 317.7
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#9730B4
secondary
#8AC679
accent
#E14769
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9730B4

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

Preview Lab → · Contrast checker → · Palette generator →

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