#9331B4#9331B4

#9331B4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.205 H 316.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9331B4
RGBrgb(147, 49, 180)
HSLhsl(285, 57%, 45%)
HSVhsv(285, 73%, 71%)
CMYKcmyk(18.3%, 72.8%, 0%, 29.4%)
CIE-LABlab(40.73, 59.51, -50.39)
CIE-LCHlch(40.73, 77.98, 319.74°)
OKLaboklab(51.53% 0.1474 -0.1419)
OKLCHoklch(51.53% 0.205 316.1)
XYZxyz(21.3679, 11.6958, 44.3031)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331B4 #52B431
analogous
#5131B4 #9331B4 #B43194
triadic
#9331B4 #B49331 #31B493
tetradic
#9331B4 #B45131 #52B431 #3194B4
square
#9331B4 #B45131 #52B431 #3194B4
split-complementary
#9331B4 #94B431 #31B451
monochromatic
#441754 #6C2484 #9331B4 #B052D0 #C682DD

Accessibility & contrast

On white

6.29
#9331B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9331B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331B4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331B4#FFFFFF#000000##FFFFFF
##9331B41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3063B1
Tritanopia (blue-blind)
#914C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9331b4;
/* rgb */ color: rgb(147, 49, 180);
/* oklch */ color: oklch(51.5% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#b773cb',
    500: '#9331b4',
    950: '#000000',
  },
}
SCSS
$custom: #9331b4;
$custom-light: #b773cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9331b4",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 284.885,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.20457,
    "h": 316.1
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#9331B4
secondary
#8EC67B
accent
#E0476E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9331B4

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

Preview Lab → · Contrast checker → · Palette generator →

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