#9331AC#9331AC

#9331AC is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.197 H 318.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9331AC
RGBrgb(147, 49, 172)
HSLhsl(288, 56%, 43%)
HSVhsv(288, 72%, 67%)
CMYKcmyk(14.5%, 71.5%, 0%, 32.5%)
CIE-LABlab(40.21, 57.93, -46.48)
CIE-LCHlch(40.21, 74.27, 321.26°)
OKLaboklab(51% 0.1481 -0.1304)
OKLCHoklch(51% 0.197 318.6)
XYZxyz(20.5763, 11.3792, 40.1343)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331AC #4AAC31
analogous
#5531AC #9331AC #AC3187
triadic
#9331AC #AC9331 #31AC93
tetradic
#9331AC #AC5531 #4AAC31 #3187AC
square
#9331AC #AC5531 #4AAC31 #3187AC
split-complementary
#9331AC #87AC31 #31AC55
monochromatic
#42164D #6A237C #9331AC #B34ECC #C77DDA

Accessibility & contrast

On white

6.41
#9331AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9331AC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331AC#FFFFFF#000000##FFFFFF
##9331AC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#3862A9
Tritanopia (blue-blind)
#93496B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9331ac;
/* rgb */ color: rgb(147, 49, 172);
/* oklch */ color: oklch(51.0% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#b672c5',
    500: '#9331ac',
    950: '#000000',
  },
}
SCSS
$custom: #9331ac;
$custom-light: #b672c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9331ac",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 287.805,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.19734,
    "h": 318.6
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#9331AC
secondary
#86C376
accent
#DF4967
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9331AC

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

Preview Lab → · Contrast checker → · Palette generator →

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