#9A3293#9A3293

#9A3293 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.178 H 330.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9A3293
RGBrgb(154, 50, 147)
HSLhsl(304, 51%, 40%)
HSVhsv(304, 68%, 60%)
CMYKcmyk(0%, 67.5%, 4.5%, 39.6%)
CIE-LABlab(40.01, 54.63, -31.71)
CIE-LCHlch(40.01, 63.16, 329.87°)
OKLaboklab(50.61% 0.1552 -0.0872)
OKLCHoklch(50.61% 0.178 330.7)
XYZxyz(19.7334, 11.2593, 28.7320)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3293 #329A39
analogous
#6D329A #9A3293 #9A325F
triadic
#9A3293 #939A32 #32939A
tetradic
#9A3293 #9A6D32 #329A39 #325F9A
square
#9A3293 #9A6D32 #329A39 #325F9A
split-complementary
#9A3293 #5F9A32 #329A6D
monochromatic
#3E143B #6C2367 #9A3293 #C346BB #D274CC

Accessibility & contrast

On white

6.46
#9A3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9A3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3293
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3293#FFFFFF#000000##FFFFFF
##9A32931.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#506390
Tritanopia (blue-blind)
#A03E5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a3293;
/* rgb */ color: rgb(154, 50, 147);
/* oklch */ color: oklch(50.6% 0.178 330.7);
Tailwind
colors: {
  custom: {
    50: '#bb73b3',
    500: '#9a3293',
    950: '#000000',
  },
}
SCSS
$custom: #9a3293;
$custom-light: #bb73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3293",
  "rgb": {
    "r": 154,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 304.038,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.17806,
    "h": 330.7
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#9A3293
secondary
#6EBA73
accent
#DA574D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9A3293

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

Preview Lab → · Contrast checker → · Palette generator →

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