#9A289C#9A289C

#9A289C is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.197 H 327.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9A289C
RGBrgb(154, 40, 156)
HSLhsl(299, 59%, 38%)
HSVhsv(299, 74%, 61%)
CMYKcmyk(1.3%, 74.4%, 0%, 38.8%)
CIE-LABlab(39.22, 59.79, -38.41)
CIE-LCHlch(39.22, 71.06, 327.28°)
OKLaboklab(50.21% 0.1659 -0.1066)
OKLCHoklch(50.21% 0.197 327.3)
XYZxyz(20.0857, 10.7893, 32.4707)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A289C #2A9C28
analogous
#60289C #9A289C #9C2864
triadic
#9A289C #9C9A28 #289C9A
tetradic
#9A289C #9C6028 #2A9C28 #28649C
square
#9A289C #9C6028 #2A9C28 #28649C
split-complementary
#9A289C #649C28 #289C60
monochromatic
#3A0F3B #6A1C6B #9A289C #C936CB #D667D8

Accessibility & contrast

On white

6.65
#9A289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9A289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A289C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A289C#FFFFFF#000000##FFFFFF
##9A289C1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B539F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#9F3B60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a289c;
/* rgb */ color: rgb(154, 40, 156);
/* oklch */ color: oklch(50.2% 0.197 327.3);
Tailwind
colors: {
  custom: {
    50: '#bb6eba',
    500: '#9a289c',
    950: '#000000',
  },
}
SCSS
$custom: #9a289c;
$custom-light: #bb6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a289c",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 298.966,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.19713,
    "h": 327.3
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#9A289C
secondary
#63BE62
accent
#E24548
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A289C

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

Preview Lab → · Contrast checker → · Palette generator →

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