#9A289B#9A289B

#9A289B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.196 H 327.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9A289B
RGBrgb(154, 40, 155)
HSLhsl(299, 59%, 38%)
HSVhsv(299, 74%, 61%)
CMYKcmyk(0.6%, 74.2%, 0%, 39.2%)
CIE-LABlab(39.17, 59.62, -37.90)
CIE-LCHlch(39.17, 70.64, 327.56°)
OKLaboklab(50.15% 0.1659 -0.1051)
OKLCHoklch(50.15% 0.196 327.6)
XYZxyz(20.0013, 10.7556, 32.0266)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A289B #299B28
analogous
#60289B #9A289B #9B2862
triadic
#9A289B #9B9A28 #289B9A
tetradic
#9A289B #9B6028 #299B28 #28629B
square
#9A289B #9B6028 #299B28 #28629B
split-complementary
#9A289B #629B28 #289B60
monochromatic
#390F3A #6A1B6A #9A289B #CA35CB #D766D7

Accessibility & contrast

On white

6.66
#9A289B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9A289B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A289B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A289B#FFFFFF#000000##FFFFFF
##9A289B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539E
Deuteranopia (green-blind)
#476198
Tritanopia (blue-blind)
#9F3A60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a289b;
/* rgb */ color: rgb(154, 40, 155);
/* oklch */ color: oklch(50.1% 0.196 327.6);
Tailwind
colors: {
  custom: {
    50: '#bb6eb9',
    500: '#9a289b',
    950: '#000000',
  },
}
SCSS
$custom: #9a289b;
$custom-light: #bb6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a289b",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 299.478,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.19635,
    "h": 327.6
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#9A289B
secondary
#62BD61
accent
#E24647
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A289B

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

Preview Lab → · Contrast checker → · Palette generator →

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