#9331B1#9331B1

#9331B1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.3% C 0.202 H 317.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9331B1
RGBrgb(147, 49, 177)
HSLhsl(286, 57%, 44%)
HSVhsv(286, 72%, 69%)
CMYKcmyk(16.9%, 72.3%, 0%, 30.6%)
CIE-LABlab(40.53, 58.91, -48.94)
CIE-LCHlch(40.53, 76.59, 320.29°)
OKLaboklab(51.33% 0.1477 -0.1376)
OKLCHoklch(51.33% 0.202 317)
XYZxyz(21.0656, 11.5749, 42.7110)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331B1 #4FB131
analogous
#5331B1 #9331B1 #B1318F
triadic
#9331B1 #B19331 #31B193
tetradic
#9331B1 #B15331 #4FB131 #318FB1
square
#9331B1 #B15331 #4FB131 #318FB1
split-complementary
#9331B1 #8FB131 #31B153
monochromatic
#431651 #6B2481 #9331B1 #B151CF #C780DC

Accessibility & contrast

On white

6.34
#9331B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9331B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331B1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331B1#FFFFFF#000000##FFFFFF
##9331B11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#924B6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9331b1;
/* rgb */ color: rgb(147, 49, 177);
/* oklch */ color: oklch(51.3% 0.202 317.0);
Tailwind
colors: {
  custom: {
    50: '#b772c9',
    500: '#9331b1',
    950: '#000000',
  },
}
SCSS
$custom: #9331b1;
$custom-light: #b772c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9331b1",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 285.938,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.20185,
    "h": 317
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#9331B1
secondary
#8BC579
accent
#E0486C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9331B1

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

Preview Lab → · Contrast checker → · Palette generator →

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