#9A33BB#9A33BB

#9A33BB is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.211 H 316.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9A33BB
RGBrgb(154, 51, 187)
HSLhsl(285, 57%, 47%)
HSVhsv(285, 73%, 73%)
CMYKcmyk(17.6%, 72.7%, 0%, 26.7%)
CIE-LABlab(42.50, 61.57, -51.61)
CIE-LCHlch(42.50, 80.34, 320.03°)
OKLaboklab(53.15% 0.1534 -0.1452)
OKLCHoklch(53.15% 0.211 316.6)
XYZxyz(23.4785, 12.8265, 48.2431)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A33BB #54BB33
analogous
#5633BB #9A33BB #BB3398
triadic
#9A33BB #BB9A33 #33BB9A
tetradic
#9A33BB #BB5633 #54BB33 #3398BB
square
#9A33BB #BB5633 #54BB33 #3398BB
split-complementary
#9A33BB #98BB33 #33BB56
monochromatic
#4B195B #72268B #9A33BB #B559D2 #CA89DF

Accessibility & contrast

On white

5.89
#9A33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A33BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A33BB#FFFFFF#000000##FFFFFF
##9A33BB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3467B8
Tritanopia (blue-blind)
#984F74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a33bb;
/* rgb */ color: rgb(154, 51, 187);
/* oklch */ color: oklch(53.2% 0.211 316.6);
Tailwind
colors: {
  custom: {
    50: '#bc75d0',
    500: '#9a33bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a33bb;
$custom-light: #bc75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a33bb",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 285.441,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.21121,
    "h": 316.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#9A33BB
secondary
#92C981
accent
#E0476D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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