#9A2C8F#9A2C8F

#9A2C8F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.182 H 332.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9A2C8F
RGBrgb(154, 44, 143)
HSLhsl(306, 56%, 39%)
HSVhsv(306, 71%, 60%)
CMYKcmyk(0%, 71.4%, 7.1%, 39.6%)
CIE-LABlab(39.00, 56.25, -30.87)
CIE-LCHlch(39.00, 64.17, 331.24°)
OKLaboklab(49.81% 0.1616 -0.0848)
OKLCHoklch(49.81% 0.182 332.3)
XYZxyz(19.1851, 10.6561, 27.0277)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C8F #2C9A37
analogous
#6E2C9A #9A2C8F #9A2C58
triadic
#9A2C8F #8F9A2C #2C8F9A
tetradic
#9A2C8F #9A6E2C #2C9A37 #2C589A
square
#9A2C8F #9A6E2C #2C9A37 #2C589A
split-complementary
#9A2C8F #589A2C #2C9A6E
monochromatic
#3B1137 #6A1E63 #9A2C8F #C73CB9 #D56CCA

Accessibility & contrast

On white

6.71
#9A2C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A2C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2C8F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C8F#FFFFFF#000000##FFFFFF
##9A2C8F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#4F618C
Tritanopia (blue-blind)
#A1375A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2c8f;
/* rgb */ color: rgb(154, 44, 143);
/* oklch */ color: oklch(49.8% 0.182 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb70b0',
    500: '#9a2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c8f;
$custom-light: #bb70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c8f",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 306,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.18245,
    "h": 332.3
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#9A2C8F
secondary
#66BC6F
accent
#DF5849
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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