#9A4F99#9A4F99

#9A4F99 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.6% C 0.139 H 327.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9A4F99
RGBrgb(154, 79, 153)
HSLhsl(301, 32%, 46%)
HSVhsv(301, 49%, 60%)
CMYKcmyk(0%, 48.7%, 0.6%, 39.6%)
CIE-LABlab(45.31, 42.14, -27.03)
CIE-LCHlch(45.31, 50.06, 327.32°)
OKLaboklab(54.59% 0.1174 -0.074)
OKLCHoklch(54.59% 0.139 327.8)
XYZxyz(21.8718, 14.7631, 31.8283)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4F99 #4F9A50
analogous
#754F9A #9A4F99 #9A4F73
triadic
#9A4F99 #999A4F #4F999A
tetradic
#9A4F99 #9A754F #4F9A50 #4F739A
square
#9A4F99 #9A754F #4F9A50 #4F739A
split-complementary
#9A4F99 #739A4F #4F9A75
monochromatic
#492549 #723A71 #9A4F99 #B670B5 #CB99CA

Accessibility & contrast

On white

5.31
#9A4F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9A4F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4F99
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4F99#FFFFFF#000000##FFFFFF
##9A4F991.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659B
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#9E576D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a4f99;
/* rgb */ color: rgb(154, 79, 153);
/* oklch */ color: oklch(54.6% 0.139 327.8);
Tailwind
colors: {
  custom: {
    50: '#ba83b7',
    500: '#9a4f99',
    950: '#000000',
  },
}
SCSS
$custom: #9a4f99;
$custom-light: #ba83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4f99",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 300.8,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.13879,
    "h": 327.8
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#9A4F99
secondary
#8EB78E
accent
#C8615F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9A4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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