#9331AD#9331AD

#9331AD is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 318.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9331AD
RGBrgb(147, 49, 173)
HSLhsl(287, 56%, 44%)
HSVhsv(287, 72%, 68%)
CMYKcmyk(15%, 71.7%, 0%, 32.2%)
CIE-LABlab(40.28, 58.13, -46.98)
CIE-LCHlch(40.28, 74.74, 321.06°)
OKLaboklab(51.07% 0.148 -0.1318)
OKLCHoklch(51.07% 0.198 318.3)
XYZxyz(20.6727, 11.4177, 40.6420)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331AD #4BAD31
analogous
#5531AD #9331AD #AD3189
triadic
#9331AD #AD9331 #31AD93
tetradic
#9331AD #AD5531 #4BAD31 #3189AD
square
#9331AD #AD5531 #4BAD31 #3189AD
split-complementary
#9331AD #89AD31 #31AD55
monochromatic
#42164E #6A237D #9331AD #B24ECD #C77EDA

Accessibility & contrast

On white

6.40
#9331AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9331AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331AD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331AD#FFFFFF#000000##FFFFFF
##9331AD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#92496C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9331ad;
/* rgb */ color: rgb(147, 49, 173);
/* oklch */ color: oklch(51.1% 0.198 318.3);
Tailwind
colors: {
  custom: {
    50: '#b672c6',
    500: '#9331ad',
    950: '#000000',
  },
}
SCSS
$custom: #9331ad;
$custom-light: #b672c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9331ad",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 287.419,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.19824,
    "h": 318.3
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#9331AD
secondary
#87C377
accent
#DF4968
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9331AD

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

Preview Lab → · Contrast checker → · Palette generator →

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