#9331A4#9331A4

#9331A4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.190 H 321.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9331A4
RGBrgb(147, 49, 164)
HSLhsl(291, 54%, 42%)
HSVhsv(291, 70%, 64%)
CMYKcmyk(10.4%, 70.1%, 0%, 35.7%)
CIE-LABlab(39.72, 56.40, -42.50)
CIE-LCHlch(39.72, 70.62, 323.00°)
OKLaboklab(50.49% 0.1486 -0.1188)
OKLCHoklch(50.49% 0.19 321.4)
XYZxyz(19.8310, 11.0811, 36.2091)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331A4 #42A431
analogous
#5931A4 #9331A4 #A4317C
triadic
#9331A4 #A49331 #31A493
tetradic
#9331A4 #A45931 #42A431 #317CA4
square
#9331A4 #A45931 #42A431 #317CA4
split-complementary
#9331A4 #7CA431 #31A459
monochromatic
#3F1546 #692375 #9331A4 #B649C9 #C979D7

Accessibility & contrast

On white

6.53
#9331A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9331A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331A4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331A4#FFFFFF#000000##FFFFFF
##9331A41.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A7
Deuteranopia (green-blind)
#3F61A1
Tritanopia (blue-blind)
#944667
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9331a4;
/* rgb */ color: rgb(147, 49, 164);
/* oklch */ color: oklch(50.5% 0.190 321.4);
Tailwind
colors: {
  custom: {
    50: '#b672bf',
    500: '#9331a4',
    950: '#000000',
  },
}
SCSS
$custom: #9331a4;
$custom-light: #b672bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9331a4",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 291.13,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.19021,
    "h": 321.4
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#9331A4
secondary
#7DBF72
accent
#DD4A60
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9331A4

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

Preview Lab → · Contrast checker → · Palette generator →

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