#9730B6#9730B6

#9730B6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.209 H 317.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9730B6
RGBrgb(151, 48, 182)
HSLhsl(286, 58%, 45%)
HSVhsv(286, 74%, 71%)
CMYKcmyk(17%, 73.6%, 0%, 28.6%)
CIE-LABlab(41.33, 61.10, -50.58)
CIE-LCHlch(41.33, 79.31, 320.38°)
OKLaboklab(52.13% 0.1531 -0.1423)
OKLCHoklch(52.13% 0.209 317.1)
XYZxyz(22.2617, 12.0716, 45.4043)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B6 #4FB630
analogous
#5430B6 #9730B6 #B63092
triadic
#9730B6 #B69730 #30B697
tetradic
#9730B6 #B65430 #4FB630 #3092B6
square
#9730B6 #B65430 #4FB630 #3092B6
split-complementary
#9730B6 #92B630 #30B654
monochromatic
#471655 #6F2386 #9730B6 #B452D1 #C982DE

Accessibility & contrast

On white

6.15
#9730B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9730B6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B6#FFFFFF#000000##FFFFFF
##9730B61.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#954C71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9730b6;
/* rgb */ color: rgb(151, 48, 182);
/* oklch */ color: oklch(52.1% 0.209 317.1);
Tailwind
colors: {
  custom: {
    50: '#ba73cd',
    500: '#9730b6',
    950: '#000000',
  },
}
SCSS
$custom: #9730b6;
$custom-light: #ba73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b6",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 286.119,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.20898,
    "h": 317.1
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#9730B6
secondary
#8CC77B
accent
#E1466A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9730B6

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

Preview Lab → · Contrast checker → · Palette generator →

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