#9331B6#9331B6

#9331B6 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.206 H 315.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9331B6
RGBrgb(147, 49, 182)
HSLhsl(284, 58%, 45%)
HSVhsv(284, 73%, 71%)
CMYKcmyk(19.2%, 73.1%, 0%, 28.6%)
CIE-LABlab(40.86, 59.91, -51.36)
CIE-LCHlch(40.86, 78.91, 319.39°)
OKLaboklab(51.67% 0.1472 -0.1447)
OKLCHoklch(51.67% 0.206 315.5)
XYZxyz(21.5731, 11.7779, 45.3839)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331B6 #54B631
analogous
#5131B6 #9331B6 #B63196
triadic
#9331B6 #B69331 #31B693
tetradic
#9331B6 #B65131 #54B631 #3196B6
square
#9331B6 #B65131 #54B631 #3196B6
split-complementary
#9331B6 #96B631 #31B651
monochromatic
#451756 #6C2486 #9331B6 #B053D1 #C684DE

Accessibility & contrast

On white

6.26
#9331B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9331B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331B6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331B6#FFFFFF#000000##FFFFFF
##9331B61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#2E63B3
Tritanopia (blue-blind)
#904D71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9331b6;
/* rgb */ color: rgb(147, 49, 182);
/* oklch */ color: oklch(51.7% 0.206 315.5);
Tailwind
colors: {
  custom: {
    50: '#b773cd',
    500: '#9331b6',
    950: '#000000',
  },
}
SCSS
$custom: #9331b6;
$custom-light: #b773cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9331b6",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 284.211,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.20638,
    "h": 315.5
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#9331B6
secondary
#90C77C
accent
#E1476F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9331B6

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

Preview Lab → · Contrast checker → · Palette generator →

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