#9A2291#9A2291

#9A2291 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.195 H 331.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9A2291
RGBrgb(154, 34, 145)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 60%)
CMYKcmyk(0%, 77.9%, 5.8%, 39.6%)
CIE-LABlab(37.95, 59.86, -33.75)
CIE-LCHlch(37.95, 68.72, 330.59°)
OKLaboklab(49.1% 0.1712 -0.093)
OKLCHoklch(49.1% 0.195 331.5)
XYZxyz(19.0093, 10.0600, 27.7232)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2291 #229A2B
analogous
#67229A #9A2291 #9A2255
triadic
#9A2291 #919A22 #22919A
tetradic
#9A2291 #9A6722 #229A2B #22559A
square
#9A2291 #9A6722 #229A2B #22559A
split-complementary
#9A2291 #559A22 #229A67
monochromatic
#360C33 #681762 #9A2291 #CC2DC0 #DB5BD1

Accessibility & contrast

On white

6.97
#9A2291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A2291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2291
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2291#FFFFFF#000000##FFFFFF
##9A22911.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#A03258
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2291;
/* rgb */ color: rgb(154, 34, 145);
/* oklch */ color: oklch(49.1% 0.195 331.5);
Tailwind
colors: {
  custom: {
    50: '#bb6cb1',
    500: '#9a2291',
    950: '#000000',
  },
}
SCSS
$custom: #9a2291;
$custom-light: #bb6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2291",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 304.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.19482,
    "h": 331.5
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#9A2291
secondary
#58BF60
accent
#E74D41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2291

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

Preview Lab → · Contrast checker → · Palette generator →

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