#9A488E#9A488E

#9A488E is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.0% C 0.141 H 333.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9A488E
RGBrgb(154, 72, 142)
HSLhsl(309, 36%, 44%)
HSVhsv(309, 53%, 60%)
CMYKcmyk(0%, 53.2%, 7.8%, 39.6%)
CIE-LABlab(43.45, 43.74, -23.31)
CIE-LCHlch(43.45, 49.57, 331.94°)
OKLaboklab(53.05% 0.1256 -0.0634)
OKLCHoklch(53.05% 0.141 333.2)
XYZxyz(20.5263, 13.4591, 27.1027)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A488E #489A54
analogous
#7D489A #9A488E #9A4865
triadic
#9A488E #8E9A48 #488E9A
tetradic
#9A488E #9A7D48 #489A54 #48659A
square
#9A488E #9A7D48 #489A54 #48659A
split-complementary
#9A488E #659A48 #489A7D
monochromatic
#472141 #703568 #9A488E #B867AC #CC91C3

Accessibility & contrast

On white

5.69
#9A488E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A488E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A488E#FFFFFF#000000##FFFFFF
##9A488E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#A04D64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a488e;
/* rgb */ color: rgb(154, 72, 142);
/* oklch */ color: oklch(53.0% 0.141 333.2);
Tailwind
colors: {
  custom: {
    50: '#ba7faf',
    500: '#9a488e',
    950: '#000000',
  },
}
SCSS
$custom: #9a488e;
$custom-light: #ba7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a488e",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 308.78,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.1407,
    "h": 333.2
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A488E

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

Preview Lab → · Contrast checker → · Palette generator →

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