#9331AB#9331AB

#9331AB is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 319.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9331AB
RGBrgb(147, 49, 171)
HSLhsl(288, 55%, 43%)
HSVhsv(288, 71%, 67%)
CMYKcmyk(14%, 71.3%, 0%, 32.9%)
CIE-LABlab(40.15, 57.74, -45.99)
CIE-LCHlch(40.15, 73.81, 321.46°)
OKLaboklab(50.94% 0.1482 -0.129)
OKLCHoklch(50.94% 0.196 319)
XYZxyz(20.4806, 11.3409, 39.6304)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331AB #49AB31
analogous
#5631AB #9331AB #AB3186
triadic
#9331AB #AB9331 #31AB93
tetradic
#9331AB #AB5631 #49AB31 #3186AB
square
#9331AB #AB5631 #49AB31 #3186AB
split-complementary
#9331AB #86AB31 #31AB56
monochromatic
#41164C #6A237B #9331AB #B34DCC #C77DDA

Accessibility & contrast

On white

6.43
#9331AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9331AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331AB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331AB#FFFFFF#000000##FFFFFF
##9331AB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#93496B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9331ab;
/* rgb */ color: rgb(147, 49, 171);
/* oklch */ color: oklch(50.9% 0.196 319.0);
Tailwind
colors: {
  custom: {
    50: '#b672c5',
    500: '#9331ab',
    950: '#000000',
  },
}
SCSS
$custom: #9331ab;
$custom-light: #b672c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9331ab",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 288.197,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.19645,
    "h": 319
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#9331AB
secondary
#85C275
accent
#DF4966
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9331AB

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

Preview Lab → · Contrast checker → · Palette generator →

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