#9331BA#9331BA

#9331BA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.210 H 314.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9331BA
RGBrgb(147, 49, 186)
HSLhsl(283, 58%, 46%)
HSVhsv(283, 74%, 73%)
CMYKcmyk(21%, 73.7%, 0%, 27.1%)
CIE-LABlab(41.13, 60.71, -53.28)
CIE-LCHlch(41.13, 80.78, 318.73°)
OKLaboklab(51.95% 0.1467 -0.1503)
OKLCHoklch(51.95% 0.21 314.3)
XYZxyz(21.9924, 11.9456, 47.5921)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331BA #58BA31
analogous
#4E31BA #9331BA #BA319C
triadic
#9331BA #BA9331 #31BA93
tetradic
#9331BA #BA4E31 #58BA31 #319CBA
square
#9331BA #BA4E31 #58BA31 #319CBA
split-complementary
#9331BA #9CBA31 #31BA4E
monochromatic
#461759 #6D248A #9331BA #AF56D2 #C686DF

Accessibility & contrast

On white

6.20
#9331BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9331BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331BA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331BA#FFFFFF#000000##FFFFFF
##9331BA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#8F4F73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9331ba;
/* rgb */ color: rgb(147, 49, 186);
/* oklch */ color: oklch(51.9% 0.210 314.3);
Tailwind
colors: {
  custom: {
    50: '#b773cf',
    500: '#9331ba',
    950: '#000000',
  },
}
SCSS
$custom: #9331ba;
$custom-light: #b773cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9331ba",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 282.92,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.21002,
    "h": 314.3
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#9331BA
secondary
#93C97E
accent
#E24672
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9331BA

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

Preview Lab → · Contrast checker → · Palette generator →

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