#9A288B#9A288B

#9A288B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.184 H 333.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9A288B
RGBrgb(154, 40, 139)
HSLhsl(308, 59%, 38%)
HSVhsv(308, 74%, 60%)
CMYKcmyk(0%, 74%, 9.7%, 39.6%)
CIE-LABlab(38.29, 57.02, -29.53)
CIE-LCHlch(38.29, 64.21, 332.62°)
OKLaboklab(49.24% 0.1654 -0.0809)
OKLCHoklch(49.24% 0.184 333.9)
XYZxyz(18.7456, 10.2533, 25.4129)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A288B #289A37
analogous
#70289A #9A288B #9A2852
triadic
#9A288B #8B9A28 #288B9A
tetradic
#9A288B #9A7028 #289A37 #28529A
square
#9A288B #9A7028 #289A37 #28529A
split-complementary
#9A288B #529A28 #289A70
monochromatic
#390F33 #691B5F #9A288B #CA35B7 #D765C8

Accessibility & contrast

On white

6.88
#9A288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A288B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A288B#FFFFFF#000000##FFFFFF
##9A288B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A13357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a288b;
/* rgb */ color: rgb(154, 40, 139);
/* oklch */ color: oklch(49.2% 0.184 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb6ead',
    500: '#9a288b',
    950: '#000000',
  },
}
SCSS
$custom: #9a288b;
$custom-light: #bb6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#9a288b",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 307.895,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.18409,
    "h": 333.9
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#9A288B
secondary
#61BD6D
accent
#E25A46
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A288B

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

Preview Lab → · Contrast checker → · Palette generator →

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