#9A33B2#9A33B2

#9A33B2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.203 H 319.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9A33B2
RGBrgb(154, 51, 178)
HSLhsl(289, 55%, 45%)
HSVhsv(289, 71%, 70%)
CMYKcmyk(13.5%, 71.3%, 0%, 30.2%)
CIE-LABlab(41.93, 59.82, -47.23)
CIE-LCHlch(41.93, 76.22, 321.71°)
OKLaboklab(52.56% 0.1542 -0.1324)
OKLCHoklch(52.56% 0.203 319.3)
XYZxyz(22.5451, 12.4531, 43.3270)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A33B2 #4BB233
analogous
#5A33B2 #9A33B2 #B2338B
triadic
#9A33B2 #B29A33 #33B29A
tetradic
#9A33B2 #B25A33 #4BB233 #338BB2
square
#9A33B2 #B25A33 #4BB233 #338BB2
split-complementary
#9A33B2 #8BB233 #33B25A
monochromatic
#481853 #712582 #9A33B2 #B754CE #CB84DC

Accessibility & contrast

On white

6.02
#9A33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9A33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A33B2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A33B2#FFFFFF#000000##FFFFFF
##9A33B21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#9A4B6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a33b2;
/* rgb */ color: rgb(154, 51, 178);
/* oklch */ color: oklch(52.6% 0.203 319.3);
Tailwind
colors: {
  custom: {
    50: '#bb74ca',
    500: '#9a33b2',
    950: '#000000',
  },
}
SCSS
$custom: #9a33b2;
$custom-light: #bb74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a33b2",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 288.661,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.2032,
    "h": 319.3
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#9A33B2
secondary
#8AC57C
accent
#DF4965
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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