#9331A7#9331A7

#9331A7 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.193 H 320.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9331A7
RGBrgb(147, 49, 167)
HSLhsl(290, 55%, 42%)
HSVhsv(290, 71%, 65%)
CMYKcmyk(12%, 70.7%, 0%, 34.5%)
CIE-LABlab(39.90, 56.97, -44.00)
CIE-LCHlch(39.90, 71.98, 322.32°)
OKLaboklab(50.68% 0.1484 -0.1231)
OKLCHoklch(50.68% 0.193 320.3)
XYZxyz(20.1051, 11.1907, 37.6527)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331A7 #45A731
analogous
#5831A7 #9331A7 #A73180
triadic
#9331A7 #A79331 #31A793
tetradic
#9331A7 #A75831 #45A731 #3180A7
square
#9331A7 #A75831 #45A731 #3180A7
split-complementary
#9331A7 #80A731 #31A758
monochromatic
#401548 #692378 #9331A7 #B54BCA #C87AD8

Accessibility & contrast

On white

6.49
#9331A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9331A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331A7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331A7#FFFFFF#000000##FFFFFF
##9331A71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#3C61A4
Tritanopia (blue-blind)
#944769
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9331a7;
/* rgb */ color: rgb(147, 49, 167);
/* oklch */ color: oklch(50.7% 0.193 320.3);
Tailwind
colors: {
  custom: {
    50: '#b672c2',
    500: '#9331a7',
    950: '#000000',
  },
}
SCSS
$custom: #9331a7;
$custom-light: #b672c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9331a7",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 289.831,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.19287,
    "h": 320.3
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#9331A7
secondary
#80C173
accent
#DE4A63
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9331A7

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

Preview Lab → · Contrast checker → · Palette generator →

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