#9A2DA2#9A2DA2

#9A2DA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.196 H 325.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9A2DA2
RGBrgb(154, 45, 162)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.9%, 72.2%, 0%, 36.5%)
CIE-LABlab(40.17, 59.11, -40.51)
CIE-LCHlch(40.17, 71.65, 325.58°)
OKLaboklab(51% 0.1609 -0.1127)
OKLCHoklch(51% 0.196 325)
XYZxyz(20.7859, 11.3568, 35.2727)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DA2 #35A22D
analogous
#5F2DA2 #9A2DA2 #A22D70
triadic
#9A2DA2 #A29A2D #2DA29A
tetradic
#9A2DA2 #A25F2D #35A22D #2D70A2
square
#9A2DA2 #A25F2D #35A22D #2D70A2
split-complementary
#9A2DA2 #70A22D #2DA25F
monochromatic
#3F1242 #6C2072 #9A2DA2 #C142CA #D172D8

Accessibility & contrast

On white

6.42
#9A2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9A2DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DA2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DA2#FFFFFF#000000##FFFFFF
##9A2DA21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9D4165
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2da2;
/* rgb */ color: rgb(154, 45, 162);
/* oklch */ color: oklch(51.0% 0.196 325.0);
Tailwind
colors: {
  custom: {
    50: '#bb71be',
    500: '#9a2da2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2da2;
$custom-light: #bb71be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2da2",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 295.897,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.19647,
    "h": 325
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#9A2DA2
secondary
#71BF6C
accent
#E04852
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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