#9331B8#9331B8

#9331B8 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.208 H 314.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9331B8
RGBrgb(147, 49, 184)
HSLhsl(284, 58%, 46%)
HSVhsv(284, 73%, 72%)
CMYKcmyk(20.1%, 73.4%, 0%, 27.8%)
CIE-LABlab(40.99, 60.31, -52.32)
CIE-LCHlch(40.99, 79.84, 319.05°)
OKLaboklab(51.81% 0.1469 -0.1475)
OKLCHoklch(51.81% 0.208 314.9)
XYZxyz(21.7812, 11.8611, 46.4802)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331B8 #56B831
analogous
#5031B8 #9331B8 #B83199
triadic
#9331B8 #B89331 #31B893
tetradic
#9331B8 #B85031 #56B831 #3199B8
square
#9331B8 #B85031 #56B831 #3199B8
split-complementary
#9331B8 #99B831 #31B850
monochromatic
#461757 #6C2488 #9331B8 #AF55D2 #C685DE

Accessibility & contrast

On white

6.23
#9331B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9331B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331B8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331B8#FFFFFF#000000##FFFFFF
##9331B81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#904E72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9331b8;
/* rgb */ color: rgb(147, 49, 184);
/* oklch */ color: oklch(51.8% 0.208 314.9);
Tailwind
colors: {
  custom: {
    50: '#b773ce',
    500: '#9331b8',
    950: '#000000',
  },
}
SCSS
$custom: #9331b8;
$custom-light: #b773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9331b8",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 283.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.2082,
    "h": 314.9
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#9331B8
secondary
#91C87D
accent
#E14771
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9331B8

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

Preview Lab → · Contrast checker → · Palette generator →

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