#9A289D#9A289D

#9A289D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.198 H 326.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9A289D
RGBrgb(154, 40, 157)
HSLhsl(298, 59%, 39%)
HSVhsv(298, 75%, 62%)
CMYKcmyk(1.9%, 74.5%, 0%, 38.4%)
CIE-LABlab(39.28, 59.96, -38.92)
CIE-LCHlch(39.28, 71.48, 327.01°)
OKLaboklab(50.27% 0.1658 -0.108)
OKLCHoklch(50.27% 0.198 326.9)
XYZxyz(20.1707, 10.8233, 32.9185)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A289D #2B9D28
analogous
#5F289D #9A289D #9D2865
triadic
#9A289D #9D9A28 #289D9A
tetradic
#9A289D #9D5F28 #2B9D28 #28659D
square
#9A289D #9D5F28 #2B9D28 #28659D
split-complementary
#9A289D #659D28 #289D5F
monochromatic
#3A0F3B #6A1C6C #9A289D #C836CC #D567D8

Accessibility & contrast

On white

6.64
#9A289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A289D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A289D#FFFFFF#000000##FFFFFF
##9A289D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#9E3B61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a289d;
/* rgb */ color: rgb(154, 40, 157);
/* oklch */ color: oklch(50.3% 0.198 326.9);
Tailwind
colors: {
  custom: {
    50: '#bb6fba',
    500: '#9a289d',
    950: '#000000',
  },
}
SCSS
$custom: #9a289d;
$custom-light: #bb6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a289d",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 298.462,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.19793,
    "h": 326.9
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#9A289D
secondary
#65BE62
accent
#E34549
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A289D

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

Preview Lab → · Contrast checker → · Palette generator →

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