#9A2589#9A2589

#9A2589 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.186 H 334.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9A2589
RGBrgb(154, 37, 137)
HSLhsl(309, 61%, 37%)
HSVhsv(309, 76%, 60%)
CMYKcmyk(0%, 76%, 11%, 39.6%)
CIE-LABlab(37.84, 57.70, -29.01)
CIE-LCHlch(37.84, 64.58, 333.31°)
OKLaboklab(48.88% 0.1681 -0.0793)
OKLCHoklch(48.88% 0.186 334.7)
XYZxyz(18.5036, 10.0009, 24.6179)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2589 #259A36
analogous
#71259A #9A2589 #9A254E
triadic
#9A2589 #899A25 #25899A
tetradic
#9A2589 #9A7125 #259A36 #254E9A
square
#9A2589 #9A7125 #259A36 #254E9A
split-complementary
#9A2589 #4E9A25 #259A71
monochromatic
#370D31 #69195D #9A2589 #CB31B5 #D960C7

Accessibility & contrast

On white

7.00
#9A2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A2589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2589
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2589#FFFFFF#000000##FFFFFF
##9A25891.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#4F5F86
Tritanopia (blue-blind)
#A22F55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2589;
/* rgb */ color: rgb(154, 37, 137);
/* oklch */ color: oklch(48.9% 0.186 334.7);
Tailwind
colors: {
  custom: {
    50: '#bb6cac',
    500: '#9a2589',
    950: '#000000',
  },
}
SCSS
$custom: #9a2589;
$custom-light: #bb6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2589",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 308.718,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.18591,
    "h": 334.7
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#9A2589
secondary
#5DBE6B
accent
#E45B43
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2589

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

Preview Lab → · Contrast checker → · Palette generator →

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