#9A2D9E#9A2D9E

#9A2D9E is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.193 H 326.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9A2D9E
RGBrgb(154, 45, 158)
HSLhsl(298, 56%, 40%)
HSVhsv(298, 72%, 62%)
CMYKcmyk(2.5%, 71.5%, 0%, 38%)
CIE-LABlab(39.94, 58.41, -38.47)
CIE-LCHlch(39.94, 69.94, 326.63°)
OKLaboklab(50.76% 0.161 -0.1068)
OKLCHoklch(50.76% 0.193 326.4)
XYZxyz(20.4360, 11.2168, 33.4298)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D9E #319E2D
analogous
#612D9E #9A2D9E #9E2D6A
triadic
#9A2D9E #9E9A2D #2D9E9A
tetradic
#9A2D9E #9E612D #319E2D #2D6A9E
square
#9A2D9E #9E612D #319E2D #2D6A9E
split-complementary
#9A2D9E #6A9E2D #2D9E61
monochromatic
#3D123F #6C1F6E #9A2D9E #C440C9 #D26FD6

Accessibility & contrast

On white

6.48
#9A2D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2D9E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D9E#FFFFFF#000000##FFFFFF
##9A2D9E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#9E3F63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2d9e;
/* rgb */ color: rgb(154, 45, 158);
/* oklch */ color: oklch(50.8% 0.193 326.4);
Tailwind
colors: {
  custom: {
    50: '#bb71bb',
    500: '#9a2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d9e;
$custom-light: #bb71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d9e",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 297.876,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50757,
    "c": 0.19318,
    "h": 326.4
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#9A2D9E
secondary
#6CBD69
accent
#DF494E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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