#9A4F8F#9A4F8F

#9A4F8F is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.130 H 332.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9A4F8F
RGBrgb(154, 79, 143)
HSLhsl(309, 32%, 46%)
HSVhsv(309, 49%, 60%)
CMYKcmyk(0%, 48.7%, 7.1%, 39.6%)
CIE-LABlab(44.87, 40.30, -21.72)
CIE-LCHlch(44.87, 45.78, 331.67°)
OKLaboklab(54.12% 0.1154 -0.0589)
OKLCHoklch(54.12% 0.13 332.9)
XYZxyz(21.0803, 14.4465, 27.6594)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4F8F #4F9A5A
analogous
#7F4F9A #9A4F8F #9A4F69
triadic
#9A4F8F #8F9A4F #4F8F9A
tetradic
#9A4F8F #9A7F4F #4F9A5A #4F699A
square
#9A4F8F #9A7F4F #4F9A5A #4F699A
split-complementary
#9A4F8F #699A4F #4F9A7F
monochromatic
#492544 #723A69 #9A4F8F #B670AC #CB99C3

Accessibility & contrast

On white

5.40
#9A4F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9A4F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4F8F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4F8F#FFFFFF#000000##FFFFFF
##9A4F8F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6391
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#A05468
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a4f8f;
/* rgb */ color: rgb(154, 79, 143);
/* oklch */ color: oklch(54.1% 0.130 332.9);
Tailwind
colors: {
  custom: {
    50: '#b983b0',
    500: '#9a4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #9a4f8f;
$custom-light: #b983b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4f8f",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 308.8,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.12955,
    "h": 332.9
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#9A4F8F
secondary
#8EB794
accent
#C86F5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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