#9A2295#9A2295

#9A2295 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.198 H 330.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9A2295
RGBrgb(154, 34, 149)
HSLhsl(303, 64%, 37%)
HSVhsv(303, 78%, 60%)
CMYKcmyk(0%, 77.9%, 3.2%, 39.6%)
CIE-LABlab(38.17, 60.50, -35.83)
CIE-LCHlch(38.17, 70.31, 329.36°)
OKLaboklab(49.33% 0.1712 -0.099)
OKLCHoklch(49.33% 0.198 330)
XYZxyz(19.3232, 10.1855, 29.3762)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2295 #229A27
analogous
#63229A #9A2295 #9A2259
triadic
#9A2295 #959A22 #22959A
tetradic
#9A2295 #9A6322 #229A27 #22599A
square
#9A2295 #9A6322 #229A27 #22599A
split-complementary
#9A2295 #599A22 #229A63
monochromatic
#360C34 #681764 #9A2295 #CC2DC6 #DB5BD6

Accessibility & contrast

On white

6.92
#9A2295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2295
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2295#FFFFFF#000000##FFFFFF
##9A22951.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5098
Deuteranopia (green-blind)
#485F92
Tritanopia (blue-blind)
#A0345B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2295;
/* rgb */ color: rgb(154, 34, 149);
/* oklch */ color: oklch(49.3% 0.198 330.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cb4',
    500: '#9a2295',
    950: '#000000',
  },
}
SCSS
$custom: #9a2295;
$custom-light: #bc6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2295",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 302.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.1978,
    "h": 330
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#9A2295
secondary
#58BF5D
accent
#E74841
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2295

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

Preview Lab → · Contrast checker → · Palette generator →

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