#9331B5#9331B5

#9331B5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 315.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9331B5
RGBrgb(147, 49, 181)
HSLhsl(285, 57%, 45%)
HSVhsv(285, 73%, 71%)
CMYKcmyk(18.8%, 72.9%, 0%, 29%)
CIE-LABlab(40.79, 59.71, -50.88)
CIE-LCHlch(40.79, 78.44, 319.56°)
OKLaboklab(51.6% 0.1473 -0.1433)
OKLCHoklch(51.6% 0.205 315.8)
XYZxyz(21.4701, 11.7367, 44.8416)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331B5 #53B531
analogous
#5131B5 #9331B5 #B53195
triadic
#9331B5 #B59331 #31B593
tetradic
#9331B5 #B55131 #53B531 #3195B5
square
#9331B5 #B55131 #53B531 #3195B5
split-complementary
#9331B5 #95B531 #31B551
monochromatic
#451755 #6C2485 #9331B5 #B053D0 #C683DD

Accessibility & contrast

On white

6.27
#9331B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9331B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331B5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331B5#FFFFFF#000000##FFFFFF
##9331B51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#2F63B2
Tritanopia (blue-blind)
#914D70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9331b5;
/* rgb */ color: rgb(147, 49, 181);
/* oklch */ color: oklch(51.6% 0.205 315.8);
Tailwind
colors: {
  custom: {
    50: '#b773cc',
    500: '#9331b5',
    950: '#000000',
  },
}
SCSS
$custom: #9331b5;
$custom-light: #b773cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9331b5",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 284.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.20548,
    "h": 315.8
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#9331B5
secondary
#8FC77B
accent
#E1476F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9331B5

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

Preview Lab → · Contrast checker → · Palette generator →

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