#9A288C#9A288C

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

Color values

HEX#9A288C
RGBrgb(154, 40, 140)
HSLhsl(307, 59%, 38%)
HSVhsv(307, 74%, 60%)
CMYKcmyk(0%, 74%, 9.1%, 39.6%)
CIE-LABlab(38.35, 57.18, -30.06)
CIE-LCHlch(38.35, 64.60, 332.27°)
OKLaboklab(49.29% 0.1655 -0.0824)
OKLCHoklch(49.29% 0.185 333.5)
XYZxyz(18.8190, 10.2827, 25.7995)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A288C #289A36
analogous
#6F289A #9A288C #9A2853
triadic
#9A288C #8C9A28 #288C9A
tetradic
#9A288C #9A6F28 #289A36 #28539A
square
#9A288C #9A6F28 #289A36 #28539A
split-complementary
#9A288C #539A28 #289A6F
monochromatic
#390F34 #691B60 #9A288C #CA35B8 #D765C9

Accessibility & contrast

On white

6.87
#9A288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A288C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A288C#FFFFFF#000000##FFFFFF
##9A288C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A13357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a288c;
/* rgb */ color: rgb(154, 40, 140);
/* oklch */ color: oklch(49.3% 0.185 333.5);
Tailwind
colors: {
  custom: {
    50: '#bb6eae',
    500: '#9a288c',
    950: '#000000',
  },
}
SCSS
$custom: #9a288c;
$custom-light: #bb6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a288c",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 307.368,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.18484,
    "h": 333.5
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#9A288C
secondary
#61BD6C
accent
#E25946
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A288C

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

Preview Lab → · Contrast checker → · Palette generator →

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