#9A2D9B#9A2D9B

#9A2D9B is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.191 H 327.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9A2D9B
RGBrgb(154, 45, 155)
HSLhsl(299, 55%, 39%)
HSVhsv(299, 71%, 61%)
CMYKcmyk(0.6%, 71%, 0%, 39.2%)
CIE-LABlab(39.77, 57.89, -36.93)
CIE-LCHlch(39.77, 68.66, 327.46°)
OKLaboklab(50.58% 0.161 -0.1023)
OKLCHoklch(50.58% 0.191 327.6)
XYZxyz(20.1809, 11.1148, 32.0864)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D9B #2E9B2D
analogous
#632D9B #9A2D9B #9B2D65
triadic
#9A2D9B #9B9A2D #2D9B9A
tetradic
#9A2D9B #9B632D #2E9B2D #2D659B
square
#9A2D9B #9B632D #2E9B2D #2D659B
split-complementary
#9A2D9B #659B2D #2D9B63
monochromatic
#3C113C #6B1F6C #9A2D9B #C63EC7 #D46ED5

Accessibility & contrast

On white

6.52
#9A2D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9A2D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D9B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D9B#FFFFFF#000000##FFFFFF
##9A2D9B1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559E
Deuteranopia (green-blind)
#496398
Tritanopia (blue-blind)
#9F3E61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2d9b;
/* rgb */ color: rgb(154, 45, 155);
/* oklch */ color: oklch(50.6% 0.191 327.6);
Tailwind
colors: {
  custom: {
    50: '#bb71b9',
    500: '#9a2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d9b;
$custom-light: #bb71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d9b",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 299.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.19074,
    "h": 327.6
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#9A2D9B
secondary
#69BC68
accent
#DE494B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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