#9A2D9D#9A2D9D

#9A2D9D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.192 H 326.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9A2D9D
RGBrgb(154, 45, 157)
HSLhsl(298, 55%, 40%)
HSVhsv(298, 71%, 62%)
CMYKcmyk(1.9%, 71.3%, 0%, 38.4%)
CIE-LABlab(39.89, 58.23, -37.96)
CIE-LCHlch(39.89, 69.51, 326.90°)
OKLaboklab(50.7% 0.161 -0.1053)
OKLCHoklch(50.7% 0.192 326.8)
XYZxyz(20.3503, 11.1825, 32.9783)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D9D #309D2D
analogous
#622D9D #9A2D9D #9D2D68
triadic
#9A2D9D #9D9A2D #2D9D9A
tetradic
#9A2D9D #9D622D #309D2D #2D689D
square
#9A2D9D #9D622D #309D2D #2D689D
split-complementary
#9A2D9D #689D2D #2D9D62
monochromatic
#3D123E #6B1F6D #9A2D9D #C43FC8 #D36FD6

Accessibility & contrast

On white

6.49
#9A2D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9A2D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D9D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D9D#FFFFFF#000000##FFFFFF
##9A2D9D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#9E3E62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2d9d;
/* rgb */ color: rgb(154, 45, 157);
/* oklch */ color: oklch(50.7% 0.192 326.8);
Tailwind
colors: {
  custom: {
    50: '#bb71ba',
    500: '#9a2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d9d;
$custom-light: #bb71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d9d",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 298.393,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.19236,
    "h": 326.8
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#9A2D9D
secondary
#6BBD69
accent
#DF494D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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