#9730BA#9730BA

#9730BA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 315.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9730BA
RGBrgb(151, 48, 186)
HSLhsl(285, 59%, 46%)
HSVhsv(285, 74%, 73%)
CMYKcmyk(18.8%, 74.2%, 0%, 27.1%)
CIE-LABlab(41.59, 61.88, -52.50)
CIE-LCHlch(41.59, 81.15, 319.69°)
OKLaboklab(52.4% 0.1526 -0.1479)
OKLCHoklch(52.4% 0.213 315.9)
XYZxyz(22.6810, 12.2393, 47.6125)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730BA #53BA30
analogous
#5230BA #9730BA #BA3098
triadic
#9730BA #BA9730 #30BA97
tetradic
#9730BA #BA5230 #53BA30 #3098BA
square
#9730BA #BA5230 #53BA30 #3098BA
split-complementary
#9730BA #98BA30 #30BA52
monochromatic
#481759 #702389 #9730BA #B354D3 #C985DF

Accessibility & contrast

On white

6.09
#9730BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9730BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730BA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730BA#FFFFFF#000000##FFFFFF
##9730BA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#954E73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9730ba;
/* rgb */ color: rgb(151, 48, 186);
/* oklch */ color: oklch(52.4% 0.213 315.9);
Tailwind
colors: {
  custom: {
    50: '#ba73cf',
    500: '#9730ba',
    950: '#000000',
  },
}
SCSS
$custom: #9730ba;
$custom-light: #ba73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9730ba",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 284.783,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.21253,
    "h": 315.9
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#9730BA
secondary
#90C97D
accent
#E2466D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9730BA

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

Preview Lab → · Contrast checker → · Palette generator →

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