#9A2D95#9A2D95

#9A2D95 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.186 H 329.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9A2D95
RGBrgb(154, 45, 149)
HSLhsl(303, 55%, 39%)
HSVhsv(303, 71%, 60%)
CMYKcmyk(0%, 70.8%, 3.2%, 39.6%)
CIE-LABlab(39.44, 56.87, -33.82)
CIE-LCHlch(39.44, 66.17, 329.26°)
OKLaboklab(50.24% 0.1608 -0.0933)
OKLCHoklch(50.24% 0.186 329.9)
XYZxyz(19.6895, 10.9182, 29.4983)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D95 #2D9A32
analogous
#692D9A #9A2D95 #9A2D5F
triadic
#9A2D95 #959A2D #2D959A
tetradic
#9A2D95 #9A692D #2D9A32 #2D5F9A
square
#9A2D95 #9A692D #2D9A32 #2D5F9A
split-complementary
#9A2D95 #5F9A2D #2D9A69
monochromatic
#3B1139 #6B1F67 #9A2D95 #C73EC0 #D46DD0

Accessibility & contrast

On white

6.60
#9A2D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9A2D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D95
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D95#FFFFFF#000000##FFFFFF
##9A2D951.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#A03B5E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2d95;
/* rgb */ color: rgb(154, 45, 149);
/* oklch */ color: oklch(50.2% 0.186 329.9);
Tailwind
colors: {
  custom: {
    50: '#bb70b4',
    500: '#9a2d95',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d95;
$custom-light: #bb70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d95",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 302.752,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.18593,
    "h": 329.9
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#9A2D95
secondary
#67BB6B
accent
#DE504A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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