#9A498F#9A498F

#9A498F is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.2% C 0.140 H 332.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9A498F
RGBrgb(154, 73, 143)
HSLhsl(308, 36%, 45%)
HSVhsv(308, 53%, 60%)
CMYKcmyk(0%, 52.6%, 7.1%, 39.6%)
CIE-LABlab(43.68, 43.41, -23.55)
CIE-LCHlch(43.68, 49.39, 331.52°)
OKLaboklab(53.24% 0.1243 -0.0641)
OKLCHoklch(53.24% 0.14 332.7)
XYZxyz(20.6668, 13.6196, 27.5216)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A498F #499A54
analogous
#7D499A #9A498F #9A4967
triadic
#9A498F #8F9A49 #498F9A
tetradic
#9A498F #9A7D49 #499A54 #49679A
square
#9A498F #9A7D49 #499A54 #49679A
split-complementary
#9A498F #679A49 #499A7D
monochromatic
#472242 #703568 #9A498F #B869AD #CB92C4

Accessibility & contrast

On white

5.64
#9A498F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9A498F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A498F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A498F#FFFFFF#000000##FFFFFF
##9A498F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#5F6B8D
Tritanopia (blue-blind)
#A04F65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a498f;
/* rgb */ color: rgb(154, 73, 143);
/* oklch */ color: oklch(53.2% 0.140 332.7);
Tailwind
colors: {
  custom: {
    50: '#ba7fb0',
    500: '#9a498f',
    950: '#000000',
  },
}
SCSS
$custom: #9a498f;
$custom-light: #ba7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a498f",
  "rgb": {
    "r": 154,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 308.148,
    "s": 35.683,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.13988,
    "h": 332.7
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#9A498F
secondary
#88B78E
accent
#CC6B5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9A498F

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

Preview Lab → · Contrast checker → · Palette generator →

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