#9A2C8A#9A2C8A

#9A2C8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.179 H 334.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9A2C8A
RGBrgb(154, 44, 138)
HSLhsl(309, 56%, 39%)
HSVhsv(309, 71%, 60%)
CMYKcmyk(0%, 71.4%, 10.4%, 39.6%)
CIE-LABlab(38.74, 55.46, -28.22)
CIE-LCHlch(38.74, 62.22, 333.03°)
OKLaboklab(49.54% 0.1611 -0.0771)
OKLCHoklch(49.54% 0.179 334.4)
XYZxyz(18.8147, 10.5080, 25.0771)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C8A #2C9A3C
analogous
#732C9A #9A2C8A #9A2C53
triadic
#9A2C8A #8A9A2C #2C8A9A
tetradic
#9A2C8A #9A732C #2C9A3C #2C539A
square
#9A2C8A #9A732C #2C9A3C #2C539A
split-complementary
#9A2C8A #539A2C #2C9A73
monochromatic
#3B1135 #6A1E5F #9A2C8A #C73CB3 #D56CC6

Accessibility & contrast

On white

6.77
#9A2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9A2C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2C8A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C8A#FFFFFF#000000##FFFFFF
##9A2C8A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#A13557
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2c8a;
/* rgb */ color: rgb(154, 44, 138);
/* oklch */ color: oklch(49.5% 0.179 334.4);
Tailwind
colors: {
  custom: {
    50: '#bb6fac',
    500: '#9a2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c8a;
$custom-light: #bb6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c8a",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 308.727,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.17866,
    "h": 334.4
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#9A2C8A
secondary
#66BC73
accent
#DF5F49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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