#9A2891#9A2891

#9A2891 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.189 H 331.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9A2891
RGBrgb(154, 40, 145)
HSLhsl(305, 59%, 38%)
HSVhsv(305, 74%, 60%)
CMYKcmyk(0%, 74%, 5.8%, 39.6%)
CIE-LABlab(38.61, 57.97, -32.70)
CIE-LCHlch(38.61, 66.56, 330.57°)
OKLaboklab(49.57% 0.1657 -0.09)
OKLCHoklch(49.57% 0.189 331.5)
XYZxyz(19.1961, 10.4335, 27.7854)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2891 #289A31
analogous
#6A289A #9A2891 #9A2858
triadic
#9A2891 #919A28 #28919A
tetradic
#9A2891 #9A6A28 #289A31 #28589A
square
#9A2891 #9A6A28 #289A31 #28589A
split-complementary
#9A2891 #589A28 #289A6A
monochromatic
#390F36 #691B63 #9A2891 #CA35BF #D765CE

Accessibility & contrast

On white

6.80
#9A2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2891
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2891#FFFFFF#000000##FFFFFF
##9A28911.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#A0355A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2891;
/* rgb */ color: rgb(154, 40, 145);
/* oklch */ color: oklch(49.6% 0.189 331.5);
Tailwind
colors: {
  custom: {
    50: '#bb6eb1',
    500: '#9a2891',
    950: '#000000',
  },
}
SCSS
$custom: #9a2891;
$custom-light: #bb6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2891",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 304.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.18859,
    "h": 331.5
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

primary
#9A2891
secondary
#61BD68
accent
#E25246
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2891

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

Preview Lab → · Contrast checker → · Palette generator →

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