#9730B2#9730B2

#9730B2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 318.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9730B2
RGBrgb(151, 48, 178)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 73%, 70%)
CMYKcmyk(15.2%, 73%, 0%, 30.2%)
CIE-LABlab(41.07, 60.32, -48.63)
CIE-LCHlch(41.07, 77.48, 321.12°)
OKLaboklab(51.86% 0.1535 -0.1366)
OKLCHoklch(51.86% 0.205 318.3)
XYZxyz(21.8542, 11.9086, 43.2583)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730B2 #4BB230
analogous
#5630B2 #9730B2 #B2308C
triadic
#9730B2 #B29730 #30B297
tetradic
#9730B2 #B25630 #4BB230 #308CB2
square
#9730B2 #B25630 #4BB230 #308CB2
split-complementary
#9730B2 #8CB230 #30B256
monochromatic
#451652 #6E2382 #9730B2 #B550D0 #C980DD

Accessibility & contrast

On white

6.21
#9730B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9730B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730B2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730B2#FFFFFF#000000##FFFFFF
##9730B21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#964A6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9730b2;
/* rgb */ color: rgb(151, 48, 178);
/* oklch */ color: oklch(51.9% 0.205 318.3);
Tailwind
colors: {
  custom: {
    50: '#b972ca',
    500: '#9730b2',
    950: '#000000',
  },
}
SCSS
$custom: #9730b2;
$custom-light: #b972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9730b2",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 287.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.20545,
    "h": 318.3
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#9730B2
secondary
#88C678
accent
#E14767
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9730B2

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

Preview Lab → · Contrast checker → · Palette generator →

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