#9331AE#9331AE

#9331AE is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.199 H 318.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9331AE
RGBrgb(147, 49, 174)
HSLhsl(287, 56%, 44%)
HSVhsv(287, 72%, 68%)
CMYKcmyk(15.5%, 71.8%, 0%, 31.8%)
CIE-LABlab(40.34, 58.32, -47.47)
CIE-LCHlch(40.34, 75.20, 320.86°)
OKLaboklab(51.13% 0.148 -0.1333)
OKLCHoklch(51.13% 0.199 318)
XYZxyz(20.7698, 11.4566, 41.1535)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331AE #4CAE31
analogous
#5431AE #9331AE #AE318A
triadic
#9331AE #AE9331 #31AE93
tetradic
#9331AE #AE5431 #4CAE31 #318AAE
square
#9331AE #AE5431 #4CAE31 #318AAE
split-complementary
#9331AE #8AAE31 #31AE54
monochromatic
#42164E #6B247E #9331AE #B24FCD #C77FDB

Accessibility & contrast

On white

6.38
#9331AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9331AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331AE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331AE#FFFFFF#000000##FFFFFF
##9331AE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3662AB
Tritanopia (blue-blind)
#924A6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9331ae;
/* rgb */ color: rgb(147, 49, 174);
/* oklch */ color: oklch(51.1% 0.199 318.0);
Tailwind
colors: {
  custom: {
    50: '#b672c7',
    500: '#9331ae',
    950: '#000000',
  },
}
SCSS
$custom: #9331ae;
$custom-light: #b672c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9331ae",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 287.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.19914,
    "h": 318
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#9331AE
secondary
#88C477
accent
#DF4869
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9331AE

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

Preview Lab → · Contrast checker → · Palette generator →

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