#9A3E91#9A3E91

#9A3E91 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.9% C 0.159 H 331.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9A3E91
RGBrgb(154, 62, 145)
HSLhsl(306, 43%, 42%)
HSVhsv(306, 60%, 60%)
CMYKcmyk(0%, 59.7%, 5.8%, 39.6%)
CIE-LABlab(41.78, 49.12, -27.72)
CIE-LCHlch(41.78, 56.40, 330.56°)
OKLaboklab(51.87% 0.1401 -0.0759)
OKLCHoklch(51.87% 0.159 331.6)
XYZxyz(20.1598, 12.3610, 28.1067)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3E91 #3E9A47
analogous
#753E9A #9A3E91 #9A3E63
triadic
#9A3E91 #919A3E #3E919A
tetradic
#9A3E91 #9A753E #3E9A47 #3E639A
square
#9A3E91 #9A753E #3E9A47 #3E639A
split-complementary
#9A3E91 #639A3E #3E9A75
monochromatic
#431B3F #6E2C68 #9A3E91 #BC59B2 #CE85C7

Accessibility & contrast

On white

6.05
#9A3E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9A3E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3E91
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3E91#FFFFFF#000000##FFFFFF
##9A3E911.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A94
Deuteranopia (green-blind)
#57678F
Tritanopia (blue-blind)
#A04662
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a3e91;
/* rgb */ color: rgb(154, 62, 145);
/* oklch */ color: oklch(51.9% 0.159 331.6);
Tailwind
colors: {
  custom: {
    50: '#ba79b1',
    500: '#9a3e91',
    950: '#000000',
  },
}
SCSS
$custom: #9a3e91;
$custom-light: #ba79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3e91",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 305.87,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.15934,
    "h": 331.6
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#9A3E91
secondary
#7CB882
accent
#D26255
background
#FBF7FA
surface
#F7EEF5
border
#D0C9CF
text
#120911
muted
#817B80

Preview Lab

Preview with #9A3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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