#9331A8#9331A8

#9331A8 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.194 H 320.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9331A8
RGBrgb(147, 49, 168)
HSLhsl(289, 55%, 43%)
HSVhsv(289, 71%, 66%)
CMYKcmyk(12.5%, 70.8%, 0%, 34.1%)
CIE-LABlab(39.96, 57.16, -44.50)
CIE-LCHlch(39.96, 72.44, 322.10°)
OKLaboklab(50.74% 0.1484 -0.1246)
OKLCHoklch(50.74% 0.194 320)
XYZxyz(20.1979, 11.2278, 38.1415)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331A8 #46A831
analogous
#5831A8 #9331A8 #A83181
triadic
#9331A8 #A89331 #31A893
tetradic
#9331A8 #A85831 #46A831 #3181A8
square
#9331A8 #A85831 #46A831 #3181A8
split-complementary
#9331A8 #81A831 #31A858
monochromatic
#401549 #6A2379 #9331A8 #B44CCB #C87BD8

Accessibility & contrast

On white

6.47
#9331A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9331A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331A8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331A8#FFFFFF#000000##FFFFFF
##9331A81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#3B62A5
Tritanopia (blue-blind)
#944769
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9331a8;
/* rgb */ color: rgb(147, 49, 168);
/* oklch */ color: oklch(50.7% 0.194 320.0);
Tailwind
colors: {
  custom: {
    50: '#b672c2',
    500: '#9331a8',
    950: '#000000',
  },
}
SCSS
$custom: #9331a8;
$custom-light: #b672c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9331a8",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 289.412,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.19376,
    "h": 320
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#9331A8
secondary
#81C174
accent
#DE4A64
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9331A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9331A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva