#9A288E#9A288E

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

Color values

HEX#9A288E
RGBrgb(154, 40, 142)
HSLhsl(306, 59%, 38%)
HSVhsv(306, 74%, 60%)
CMYKcmyk(0%, 74%, 7.8%, 39.6%)
CIE-LABlab(38.45, 57.49, -31.12)
CIE-LCHlch(38.45, 65.37, 331.57°)
OKLaboklab(49.4% 0.1656 -0.0855)
OKLCHoklch(49.4% 0.186 332.7)
XYZxyz(18.9678, 10.3422, 26.5832)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A288E #289A34
analogous
#6D289A #9A288E #9A2855
triadic
#9A288E #8E9A28 #288E9A
tetradic
#9A288E #9A6D28 #289A34 #28559A
square
#9A288E #9A6D28 #289A34 #28559A
split-complementary
#9A288E #559A28 #289A6D
monochromatic
#390F34 #691B61 #9A288E #CA35BB #D765CB

Accessibility & contrast

On white

6.84
#9A288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9A288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A288E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A288E#FFFFFF#000000##FFFFFF
##9A288E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a288e;
/* rgb */ color: rgb(154, 40, 142);
/* oklch */ color: oklch(49.4% 0.186 332.7);
Tailwind
colors: {
  custom: {
    50: '#bb6eaf',
    500: '#9a288e',
    950: '#000000',
  },
}
SCSS
$custom: #9a288e;
$custom-light: #bb6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a288e",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 306.316,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.18632,
    "h": 332.7
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#9A288E
secondary
#61BD6A
accent
#E25646
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A288E

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

Preview Lab → · Contrast checker → · Palette generator →

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