#9331B2#9331B2

#9331B2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.203 H 316.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9331B2
RGBrgb(147, 49, 178)
HSLhsl(286, 57%, 45%)
HSVhsv(286, 72%, 70%)
CMYKcmyk(17.4%, 72.5%, 0%, 30.2%)
CIE-LABlab(40.60, 59.11, -49.42)
CIE-LCHlch(40.60, 77.05, 320.10°)
OKLaboklab(51.4% 0.1476 -0.139)
OKLCHoklch(51.4% 0.203 316.7)
XYZxyz(21.1656, 11.6149, 43.2378)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331B2 #50B231
analogous
#5231B2 #9331B2 #B23191
triadic
#9331B2 #B29331 #31B293
tetradic
#9331B2 #B25231 #50B231 #3191B2
square
#9331B2 #B25231 #50B231 #3191B2
split-complementary
#9331B2 #91B231 #31B252
monochromatic
#441752 #6B2482 #9331B2 #B151CF #C681DC

Accessibility & contrast

On white

6.32
#9331B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9331B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331B2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331B2#FFFFFF#000000##FFFFFF
##9331B21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3263AF
Tritanopia (blue-blind)
#914C6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9331b2;
/* rgb */ color: rgb(147, 49, 178);
/* oklch */ color: oklch(51.4% 0.203 316.7);
Tailwind
colors: {
  custom: {
    50: '#b772ca',
    500: '#9331b2',
    950: '#000000',
  },
}
SCSS
$custom: #9331b2;
$custom-light: #b772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9331b2",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 285.581,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.20275,
    "h": 316.7
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9331B2

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

Preview Lab → · Contrast checker → · Palette generator →

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