#9730A9#9730A9

#9730A9 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.198 H 321.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9730A9
RGBrgb(151, 48, 169)
HSLhsl(291, 56%, 43%)
HSVhsv(291, 72%, 66%)
CMYKcmyk(10.7%, 71.6%, 0%, 33.7%)
CIE-LABlab(40.51, 58.61, -44.19)
CIE-LCHlch(40.51, 73.41, 322.99°)
OKLaboklab(51.28% 0.1542 -0.1236)
OKLCHoklch(51.28% 0.198 321.3)
XYZxyz(20.9801, 11.5589, 38.6544)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730A9 #42A930
analogous
#5A30A9 #9730A9 #A9307F
triadic
#9730A9 #A99730 #30A997
tetradic
#9730A9 #A95A30 #42A930 #307FA9
square
#9730A9 #A95A30 #42A930 #307FA9
split-complementary
#9730A9 #7FA930 #30A95A
monochromatic
#42154A #6C2279 #9730A9 #B84ACC #CB7AD9

Accessibility & contrast

On white

6.34
#9730A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9730A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730A9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730A9#FFFFFF#000000##FFFFFF
##9730A91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#984669
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9730a9;
/* rgb */ color: rgb(151, 48, 169);
/* oklch */ color: oklch(51.3% 0.198 321.3);
Tailwind
colors: {
  custom: {
    50: '#b972c3',
    500: '#9730a9',
    950: '#000000',
  },
}
SCSS
$custom: #9730a9;
$custom-light: #b972c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9730a9",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 291.074,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.19757,
    "h": 321.3
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#9730A9
secondary
#7FC273
accent
#DF495F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9730A9

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

Preview Lab → · Contrast checker → · Palette generator →

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