#9A488D#9A488D

#9A488D is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.0% C 0.140 H 333.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9A488D
RGBrgb(154, 72, 141)
HSLhsl(310, 36%, 44%)
HSVhsv(310, 53%, 60%)
CMYKcmyk(0%, 53.2%, 8.4%, 39.6%)
CIE-LABlab(43.40, 43.57, -22.78)
CIE-LCHlch(43.40, 49.16, 332.40°)
OKLaboklab(53% 0.1254 -0.0619)
OKLCHoklch(53% 0.14 333.7)
XYZxyz(20.4515, 13.4292, 26.7090)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A488D #489A55
analogous
#7E489A #9A488D #9A4864
triadic
#9A488D #8D9A48 #488D9A
tetradic
#9A488D #9A7E48 #489A55 #48649A
square
#9A488D #9A7E48 #489A55 #48649A
split-complementary
#9A488D #649A48 #489A7E
monochromatic
#472141 #703567 #9A488D #B867AB #CC91C2

Accessibility & contrast

On white

5.70
#9A488D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9A488D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A488D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A488D#FFFFFF#000000##FFFFFF
##9A488D1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#A04D64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a488d;
/* rgb */ color: rgb(154, 72, 141);
/* oklch */ color: oklch(53.0% 0.140 333.7);
Tailwind
colors: {
  custom: {
    50: '#ba7fae',
    500: '#9a488d',
    950: '#000000',
  },
}
SCSS
$custom: #9a488d;
$custom-light: #ba7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a488d",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 309.512,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.13984,
    "h": 333.7
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#9A488D
secondary
#86B78E
accent
#CC6D5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9A488D

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

Preview Lab → · Contrast checker → · Palette generator →

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