#9A2C8D#9A2C8D

#9A2C8D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.181 H 333.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9A2C8D
RGBrgb(154, 44, 141)
HSLhsl(307, 56%, 39%)
HSVhsv(307, 71%, 60%)
CMYKcmyk(0%, 71.4%, 8.4%, 39.6%)
CIE-LABlab(38.89, 55.93, -29.82)
CIE-LCHlch(38.89, 63.38, 331.94°)
OKLaboklab(49.7% 0.1614 -0.0817)
OKLCHoklch(49.7% 0.181 333.1)
XYZxyz(19.0349, 10.5960, 26.2369)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2C8D #2C9A39
analogous
#702C9A #9A2C8D #9A2C56
triadic
#9A2C8D #8D9A2C #2C8D9A
tetradic
#9A2C8D #9A702C #2C9A39 #2C569A
square
#9A2C8D #9A702C #2C9A39 #2C569A
split-complementary
#9A2C8D #569A2C #2C9A70
monochromatic
#3B1136 #6A1E61 #9A2C8D #C73CB7 #D56CC8

Accessibility & contrast

On white

6.73
#9A2C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9A2C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2C8D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2C8D#FFFFFF#000000##FFFFFF
##9A2C8D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#A13659
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2c8d;
/* rgb */ color: rgb(154, 44, 141);
/* oklch */ color: oklch(49.7% 0.181 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb70ae',
    500: '#9a2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9a2c8d;
$custom-light: #bb70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2c8d",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 307.091,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.18092,
    "h": 333.1
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#9A2C8D
secondary
#66BC70
accent
#DF5B49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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