#9733B8#9733B8

#9733B8 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.207 H 316.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9733B8
RGBrgb(151, 51, 184)
HSLhsl(285, 57%, 46%)
HSVhsv(285, 72%, 72%)
CMYKcmyk(17.9%, 72.3%, 0%, 27.8%)
CIE-LABlab(41.86, 60.36, -50.90)
CIE-LCHlch(41.86, 78.96, 319.86°)
OKLaboklab(52.54% 0.15 -0.1432)
OKLCHoklch(52.54% 0.207 316.3)
XYZxyz(22.5967, 12.4086, 46.5429)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9733B8 #54B833
analogous
#5433B8 #9733B8 #B83396
triadic
#9733B8 #B89733 #33B897
tetradic
#9733B8 #B85433 #54B833 #3396B8
square
#9733B8 #B85433 #54B833 #3396B8
split-complementary
#9733B8 #96B833 #33B854
monochromatic
#481858 #702688 #9733B8 #B358D1 #C888DE

Accessibility & contrast

On white

6.03
#9733B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9733B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9733B8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9733B8#FFFFFF#000000##FFFFFF
##9733B81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3366B5
Tritanopia (blue-blind)
#954F73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9733b8;
/* rgb */ color: rgb(151, 51, 184);
/* oklch */ color: oklch(52.5% 0.207 316.3);
Tailwind
colors: {
  custom: {
    50: '#ba74ce',
    500: '#9733b8',
    950: '#000000',
  },
}
SCSS
$custom: #9733b8;
$custom-light: #ba74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9733b8",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 285.113,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.20738,
    "h": 316.3
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#9733B8
secondary
#91C87F
accent
#E0486E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9733B8

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

Preview Lab → · Contrast checker → · Palette generator →

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