#9A288D#9A288D

#9A288D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.186 H 333.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9A288D
RGBrgb(154, 40, 141)
HSLhsl(307, 59%, 38%)
HSVhsv(307, 74%, 60%)
CMYKcmyk(0%, 74%, 8.4%, 39.6%)
CIE-LABlab(38.40, 57.33, -30.59)
CIE-LCHlch(38.40, 64.98, 331.92°)
OKLaboklab(49.35% 0.1655 -0.0839)
OKLCHoklch(49.35% 0.186 333.1)
XYZxyz(18.8930, 10.3123, 26.1896)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A288D #289A35
analogous
#6E289A #9A288D #9A2854
triadic
#9A288D #8D9A28 #288D9A
tetradic
#9A288D #9A6E28 #289A35 #28549A
square
#9A288D #9A6E28 #289A35 #28549A
split-complementary
#9A288D #549A28 #289A6E
monochromatic
#390F34 #691B61 #9A288D #CA35B9 #D765CA

Accessibility & contrast

On white

6.86
#9A288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9A288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A288D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A288D#FFFFFF#000000##FFFFFF
##9A288D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A13458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a288d;
/* rgb */ color: rgb(154, 40, 141);
/* oklch */ color: oklch(49.3% 0.186 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6eae',
    500: '#9a288d',
    950: '#000000',
  },
}
SCSS
$custom: #9a288d;
$custom-light: #bb6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a288d",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 306.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.18557,
    "h": 333.1
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#9A288D
secondary
#61BD6B
accent
#E25846
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A288D

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

Preview Lab → · Contrast checker → · Palette generator →

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