#9A2297#9A2297

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

Color values

HEX#9A2297
RGBrgb(154, 34, 151)
HSLhsl(302, 64%, 37%)
HSVhsv(302, 78%, 60%)
CMYKcmyk(0%, 77.9%, 1.9%, 39.6%)
CIE-LABlab(38.29, 60.82, -36.87)
CIE-LCHlch(38.29, 71.12, 328.78°)
OKLaboklab(49.44% 0.1712 -0.102)
OKLCHoklch(49.44% 0.199 329.2)
XYZxyz(19.4842, 10.2500, 30.2244)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2297 #229A25
analogous
#61229A #9A2297 #9A225B
triadic
#9A2297 #979A22 #22979A
tetradic
#9A2297 #9A6122 #229A25 #225B9A
square
#9A2297 #9A6122 #229A25 #225B9A
split-complementary
#9A2297 #5B9A22 #229A61
monochromatic
#360C35 #681766 #9A2297 #CC2DC8 #DB5BD8

Accessibility & contrast

On white

6.89
#9A2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A2297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2297
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2297#FFFFFF#000000##FFFFFF
##9A22971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09509A
Deuteranopia (green-blind)
#466094
Tritanopia (blue-blind)
#A0355C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2297;
/* rgb */ color: rgb(154, 34, 151);
/* oklch */ color: oklch(49.4% 0.199 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6cb6',
    500: '#9a2297',
    950: '#000000',
  },
}
SCSS
$custom: #9a2297;
$custom-light: #bc6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2297",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 301.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.1993,
    "h": 329.2
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#9A2297
secondary
#58BF5B
accent
#E74541
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2297

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

Preview Lab → · Contrast checker → · Palette generator →

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