#9A2D8A#9A2D8A

#9A2D8A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 334.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9A2D8A
RGBrgb(154, 45, 138)
HSLhsl(309, 55%, 39%)
HSVhsv(309, 71%, 60%)
CMYKcmyk(0%, 70.8%, 10.4%, 39.6%)
CIE-LABlab(38.87, 55.09, -28.01)
CIE-LCHlch(38.87, 61.80, 333.05°)
OKLaboklab(49.64% 0.1601 -0.0766)
OKLCHoklch(49.64% 0.177 334.4)
XYZxyz(18.8524, 10.5834, 25.0897)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D8A #2D9A3D
analogous
#742D9A #9A2D8A #9A2D54
triadic
#9A2D8A #8A9A2D #2D8A9A
tetradic
#9A2D8A #9A742D #2D9A3D #2D549A
square
#9A2D8A #9A742D #2D9A3D #2D549A
split-complementary
#9A2D8A #549A2D #2D9A74
monochromatic
#3B1135 #6B1F60 #9A2D8A #C73EB2 #D46DC5

Accessibility & contrast

On white

6.74
#9A2D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2D8A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D8A#FFFFFF#000000##FFFFFF
##9A2D8A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#A13658
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2d8a;
/* rgb */ color: rgb(154, 45, 138);
/* oklch */ color: oklch(49.6% 0.177 334.4);
Tailwind
colors: {
  custom: {
    50: '#bb70ac',
    500: '#9a2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d8a;
$custom-light: #bb70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d8a",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 308.807,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.17743,
    "h": 334.4
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#9A2D8A
secondary
#67BB74
accent
#DE5F4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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