#9B3293#9B3293

#9B3293 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.179 H 331.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9B3293
RGBrgb(155, 50, 147)
HSLhsl(305, 51%, 40%)
HSVhsv(305, 68%, 61%)
CMYKcmyk(0%, 67.7%, 5.2%, 39.2%)
CIE-LABlab(40.18, 54.88, -31.44)
CIE-LCHlch(40.18, 63.25, 330.19°)
OKLaboklab(50.76% 0.1563 -0.0864)
OKLCHoklch(50.76% 0.179 331.1)
XYZxyz(19.9246, 11.3579, 28.7410)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3293 #329B3A
analogous
#6E329B #9B3293 #9B325F
triadic
#9B3293 #939B32 #32939B
tetradic
#9B3293 #9B6E32 #329B3A #325F9B
square
#9B3293 #9B6E32 #329B3A #325F9B
split-complementary
#9B3293 #5F9B32 #329B6E
monochromatic
#3E143B #6D2367 #9B3293 #C447BA #D275CB

Accessibility & contrast

On white

6.42
#9B3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3293
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3293#FFFFFF#000000##FFFFFF
##9B32931.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5596
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#A13D5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b3293;
/* rgb */ color: rgb(155, 50, 147);
/* oklch */ color: oklch(50.8% 0.179 331.1);
Tailwind
colors: {
  custom: {
    50: '#bc73b3',
    500: '#9b3293',
    950: '#000000',
  },
}
SCSS
$custom: #9b3293;
$custom-light: #bc73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3293",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 304.571,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.17864,
    "h": 331.1
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#9B3293
secondary
#6EBB74
accent
#DB584D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9B3293

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

Preview Lab → · Contrast checker → · Palette generator →

#9B3293 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva