#9A3192#9A3192

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

Color values

HEX#9A3192
RGBrgb(154, 49, 146)
HSLhsl(305, 52%, 40%)
HSVhsv(305, 68%, 60%)
CMYKcmyk(0%, 68.2%, 5.2%, 39.6%)
CIE-LABlab(39.82, 54.86, -31.40)
CIE-LCHlch(39.82, 63.21, 330.21°)
OKLaboklab(50.46% 0.1563 -0.0863)
OKLCHoklch(50.46% 0.179 331.1)
XYZxyz(19.6130, 11.1435, 28.3065)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3192 #319A39
analogous
#6D319A #9A3192 #9A315E
triadic
#9A3192 #929A31 #31929A
tetradic
#9A3192 #9A6D31 #319A39 #315E9A
square
#9A3192 #9A6D31 #319A39 #315E9A
split-complementary
#9A3192 #5E9A31 #319A6D
monochromatic
#3D133A #6C2266 #9A3192 #C445BA #D273CB

Accessibility & contrast

On white

6.50
#9A3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9A3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3192
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3192#FFFFFF#000000##FFFFFF
##9A31921.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A03C5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a3192;
/* rgb */ color: rgb(154, 49, 146);
/* oklch */ color: oklch(50.5% 0.179 331.1);
Tailwind
colors: {
  custom: {
    50: '#bb72b2',
    500: '#9a3192',
    950: '#000000',
  },
}
SCSS
$custom: #9a3192;
$custom-light: #bb72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3192",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 304.571,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.17856,
    "h": 331.1
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#9A3192
secondary
#6CBA72
accent
#DB574D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A3192

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

Preview Lab → · Contrast checker → · Palette generator →

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