#9A2DA9#9A2DA9

#9A2DA9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.202 H 322.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9A2DA9
RGBrgb(154, 45, 169)
HSLhsl(293, 58%, 42%)
HSVhsv(293, 73%, 66%)
CMYKcmyk(8.9%, 73.4%, 0%, 33.7%)
CIE-LABlab(40.59, 60.36, -44.02)
CIE-LCHlch(40.59, 74.71, 323.90°)
OKLaboklab(51.43% 0.1606 -0.123)
OKLCHoklch(51.43% 0.202 322.6)
XYZxyz(21.4255, 11.6126, 38.6413)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DA9 #3CA92D
analogous
#5C2DA9 #9A2DA9 #A92D7A
triadic
#9A2DA9 #A99A2D #2DA99A
tetradic
#9A2DA9 #A95C2D #3CA92D #2D7AA9
square
#9A2DA9 #A95C2D #3CA92D #2D7AA9
split-complementary
#9A2DA9 #7AA92D #2DA95C
monochromatic
#421348 #6E2079 #9A2DA9 #BD46CE #CE76DA

Accessibility & contrast

On white

6.32
#9A2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9A2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DA9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DA9#FFFFFF#000000##FFFFFF
##9A2DA91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#9C4469
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2da9;
/* rgb */ color: rgb(154, 45, 169);
/* oklch */ color: oklch(51.4% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#bb71c3',
    500: '#9a2da9',
    950: '#000000',
  },
}
SCSS
$custom: #9a2da9;
$custom-light: #bb71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2da9",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 292.742,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.20231,
    "h": 322.6
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#9A2DA9
secondary
#7AC26F
accent
#E14759
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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