#9331A2#9331A2

#9331A2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.188 H 322.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9331A2
RGBrgb(147, 49, 162)
HSLhsl(292, 54%, 41%)
HSVhsv(292, 70%, 64%)
CMYKcmyk(9.3%, 69.8%, 0%, 36.5%)
CIE-LABlab(39.60, 56.02, -41.49)
CIE-LCHlch(39.60, 69.71, 323.47°)
OKLaboklab(50.36% 0.1486 -0.1158)
OKLCHoklch(50.36% 0.188 322.1)
XYZxyz(19.6518, 11.0094, 35.2653)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331A2 #40A231
analogous
#5B31A2 #9331A2 #A23179
triadic
#9331A2 #A29331 #31A293
tetradic
#9331A2 #A25B31 #40A231 #3179A2
square
#9331A2 #A25B31 #40A231 #3179A2
split-complementary
#9331A2 #79A231 #31A25B
monochromatic
#3E1544 #682373 #9331A2 #B748C8 #C977D6

Accessibility & contrast

On white

6.56
#9331A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9331A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331A2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331A2#FFFFFF#000000##FFFFFF
##9331A21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#954566
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9331a2;
/* rgb */ color: rgb(147, 49, 162);
/* oklch */ color: oklch(50.4% 0.188 322.1);
Tailwind
colors: {
  custom: {
    50: '#b672be',
    500: '#9331a2',
    950: '#000000',
  },
}
SCSS
$custom: #9331a2;
$custom-light: #b672be;
$custom-dark: #000000;
JSON
{
  "hex": "#9331a2",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 292.035,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.18844,
    "h": 322.1
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#9331A2
secondary
#7BBE71
accent
#DD4B5E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9331A2

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

Preview Lab → · Contrast checker → · Palette generator →

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