#9A2296#9A2296

#9A2296 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.199 H 329.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9A2296
RGBrgb(154, 34, 150)
HSLhsl(302, 64%, 37%)
HSVhsv(302, 78%, 60%)
CMYKcmyk(0%, 77.9%, 2.6%, 39.6%)
CIE-LABlab(38.23, 60.66, -36.35)
CIE-LCHlch(38.23, 70.72, 329.07°)
OKLaboklab(49.39% 0.1712 -0.1005)
OKLCHoklch(49.39% 0.199 329.6)
XYZxyz(19.4034, 10.2176, 29.7985)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2296 #229A26
analogous
#62229A #9A2296 #9A225A
triadic
#9A2296 #969A22 #22969A
tetradic
#9A2296 #9A6222 #229A26 #225A9A
square
#9A2296 #9A6222 #229A26 #225A9A
split-complementary
#9A2296 #5A9A22 #229A62
monochromatic
#360C34 #681765 #9A2296 #CC2DC7 #DB5BD7

Accessibility & contrast

On white

6.90
#9A2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A2296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2296
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2296#FFFFFF#000000##FFFFFF
##9A22961.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5099
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#A0345B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2296;
/* rgb */ color: rgb(154, 34, 150);
/* oklch */ color: oklch(49.4% 0.199 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb5',
    500: '#9a2296',
    950: '#000000',
  },
}
SCSS
$custom: #9a2296;
$custom-light: #bc6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2296",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 302,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49385,
    "c": 0.19856,
    "h": 329.6
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#9A2296
secondary
#58BF5C
accent
#E74641
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2296

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

Preview Lab → · Contrast checker → · Palette generator →

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