#9A33BC#9A33BC

#9A33BC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.212 H 316.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9A33BC
RGBrgb(154, 51, 188)
HSLhsl(285, 57%, 47%)
HSVhsv(285, 73%, 74%)
CMYKcmyk(18.1%, 72.9%, 0%, 26.3%)
CIE-LABlab(42.57, 61.76, -52.09)
CIE-LCHlch(42.57, 80.80, 319.86°)
OKLaboklab(53.22% 0.1533 -0.1466)
OKLCHoklch(53.22% 0.212 316.3)
XYZxyz(23.5860, 12.8695, 48.8089)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A33BC #55BC33
analogous
#5533BC #9A33BC #BC339A
triadic
#9A33BC #BC9A33 #33BC9A
tetradic
#9A33BC #BC5533 #55BC33 #339ABC
square
#9A33BC #BC5533 #55BC33 #339ABC
split-complementary
#9A33BC #9ABC33 #33BC55
monochromatic
#4B195C #73268C #9A33BC #B45AD2 #CA8ADF

Accessibility & contrast

On white

5.88
#9A33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9A33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A33BC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A33BC#FFFFFF#000000##FFFFFF
##9A33BC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#985075
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a33bc;
/* rgb */ color: rgb(154, 51, 188);
/* oklch */ color: oklch(53.2% 0.212 316.3);
Tailwind
colors: {
  custom: {
    50: '#bc75d1',
    500: '#9a33bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a33bc;
$custom-light: #bc75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a33bc",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 285.109,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.2121,
    "h": 316.3
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#9A33BC
secondary
#93C981
accent
#E1476D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A33BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A33BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva