#9A3F91#9A3F91

#9A3F91 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.0% C 0.158 H 331.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9A3F91
RGBrgb(154, 63, 145)
HSLhsl(306, 42%, 43%)
HSVhsv(306, 59%, 60%)
CMYKcmyk(0%, 59.1%, 5.8%, 39.6%)
CIE-LABlab(41.95, 48.65, -27.45)
CIE-LCHlch(41.95, 55.86, 330.57°)
OKLaboklab(51.99% 0.1388 -0.0751)
OKLCHoklch(51.99% 0.158 331.6)
XYZxyz(20.2147, 12.4708, 28.1250)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3F91 #3F9A48
analogous
#753F9A #9A3F91 #9A3F64
triadic
#9A3F91 #919A3F #3F919A
tetradic
#9A3F91 #9A753F #3F9A48 #3F649A
square
#9A3F91 #9A753F #3F9A48 #3F649A
split-complementary
#9A3F91 #649A3F #3F9A75
monochromatic
#431B3F #6F2D68 #9A3F91 #BC5AB2 #CD86C6

Accessibility & contrast

On white

6.01
#9A3F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9A3F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3F91
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3F91#FFFFFF#000000##FFFFFF
##9A3F911.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#58688F
Tritanopia (blue-blind)
#A04762
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a3f91;
/* rgb */ color: rgb(154, 63, 145);
/* oklch */ color: oklch(52.0% 0.158 331.6);
Tailwind
colors: {
  custom: {
    50: '#ba79b1',
    500: '#9a3f91',
    950: '#000000',
  },
}
SCSS
$custom: #9a3f91;
$custom-light: #ba79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3f91",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 305.934,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.1578,
    "h": 331.6
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#9A3F91
secondary
#7DB883
accent
#D26256
background
#FBF7FA
surface
#F7EEF5
border
#D0C9CF
text
#120911
muted
#817B80

Preview Lab

Preview with #9A3F91

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

Preview Lab → · Contrast checker → · Palette generator →

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