#9730BD#9730BD

#9730BD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.215 H 315.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9730BD
RGBrgb(151, 48, 189)
HSLhsl(284, 59%, 46%)
HSVhsv(284, 75%, 74%)
CMYKcmyk(20.1%, 74.6%, 0%, 25.9%)
CIE-LABlab(41.80, 62.47, -53.94)
CIE-LCHlch(41.80, 82.54, 319.19°)
OKLaboklab(52.6% 0.1522 -0.1521)
OKLCHoklch(52.6% 0.215 315)
XYZxyz(23.0033, 12.3682, 49.3098)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730BD #56BD30
analogous
#5130BD #9730BD #BD309D
triadic
#9730BD #BD9730 #30BD97
tetradic
#9730BD #BD5130 #56BD30 #309DBD
square
#9730BD #BD5130 #56BD30 #309DBD
split-complementary
#9730BD #9DBD30 #30BD51
monochromatic
#49175B #70248C #9730BD #B256D4 #C887E0

Accessibility & contrast

On white

6.05
#9730BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9730BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730BD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730BD#FFFFFF#000000##FFFFFF
##9730BD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#944F75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9730bd;
/* rgb */ color: rgb(151, 48, 189);
/* oklch */ color: oklch(52.6% 0.215 315.0);
Tailwind
colors: {
  custom: {
    50: '#ba73d2',
    500: '#9730bd',
    950: '#000000',
  },
}
SCSS
$custom: #9730bd;
$custom-light: #ba73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9730bd",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 283.83,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.21521,
    "h": 315
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#9730BD
secondary
#93CA7F
accent
#E34570
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9730BD

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

Preview Lab → · Contrast checker → · Palette generator →

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