#9A2397#9A2397

#9A2397 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.198 H 329.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9A2397
RGBrgb(154, 35, 151)
HSLhsl(302, 63%, 37%)
HSVhsv(302, 77%, 60%)
CMYKcmyk(0%, 77.3%, 1.9%, 39.6%)
CIE-LABlab(38.39, 60.52, -36.70)
CIE-LCHlch(38.39, 70.78, 328.77°)
OKLaboklab(49.52% 0.1704 -0.1016)
OKLCHoklch(49.52% 0.198 329.2)
XYZxyz(19.5132, 10.3080, 30.2341)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2397 #239A26
analogous
#62239A #9A2397 #9A235B
triadic
#9A2397 #979A23 #23979A
tetradic
#9A2397 #9A6223 #239A26 #235B9A
square
#9A2397 #9A6223 #239A26 #235B9A
split-complementary
#9A2397 #5B9A23 #239A62
monochromatic
#360C35 #681866 #9A2397 #CC2EC8 #DA5DD7

Accessibility & contrast

On white

6.86
#9A2397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9A2397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2397
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2397#FFFFFF#000000##FFFFFF
##9A23971.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#9F355C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2397;
/* rgb */ color: rgb(154, 35, 151);
/* oklch */ color: oklch(49.5% 0.198 329.2);
Tailwind
colors: {
  custom: {
    50: '#bb6cb6',
    500: '#9a2397',
    950: '#000000',
  },
}
SCSS
$custom: #9a2397;
$custom-light: #bb6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2397",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 301.513,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.19835,
    "h": 329.2
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#9A2397
secondary
#5ABF5C
accent
#E64642
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2397

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

Preview Lab → · Contrast checker → · Palette generator →

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