#9730B8#9730B8

#9730B8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 316.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9730B8
RGBrgb(151, 48, 184)
HSLhsl(285, 59%, 45%)
HSVhsv(285, 74%, 72%)
CMYKcmyk(17.9%, 73.9%, 0%, 27.8%)
CIE-LABlab(41.46, 61.49, -51.54)
CIE-LCHlch(41.46, 80.23, 320.03°)
OKLaboklab(52.26% 0.1529 -0.1451)
OKLCHoklch(52.26% 0.211 316.5)
XYZxyz(22.4699, 12.1548, 46.5006)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B8 #51B830
analogous
#5330B8 #9730B8 #B83095
triadic
#9730B8 #B89730 #30B897
tetradic
#9730B8 #B85330 #51B830 #3095B8
square
#9730B8 #B85330 #51B830 #3095B8
split-complementary
#9730B8 #95B830 #30B853
monochromatic
#471757 #6F2387 #9730B8 #B353D2 #C984DF

Accessibility & contrast

On white

6.12
#9730B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9730B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730B8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B8#FFFFFF#000000##FFFFFF
##9730B81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#954D72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9730b8;
/* rgb */ color: rgb(151, 48, 184);
/* oklch */ color: oklch(52.3% 0.211 316.5);
Tailwind
colors: {
  custom: {
    50: '#ba73ce',
    500: '#9730b8',
    950: '#000000',
  },
}
SCSS
$custom: #9730b8;
$custom-light: #ba73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b8",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 285.441,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.21076,
    "h": 316.5
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#9730B8
secondary
#8EC87C
accent
#E2466C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9730B8

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

Preview Lab → · Contrast checker → · Palette generator →

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