#9A2FAD#9A2FAD

#9A2FAD is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.203 H 321.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9A2FAD
RGBrgb(154, 47, 173)
HSLhsl(291, 57%, 43%)
HSVhsv(291, 73%, 68%)
CMYKcmyk(11%, 72.8%, 0%, 32.2%)
CIE-LABlab(41.09, 60.38, -45.61)
CIE-LCHlch(41.09, 75.67, 322.93°)
OKLaboklab(51.87% 0.1585 -0.1276)
OKLCHoklch(51.87% 0.203 321.2)
XYZxyz(21.8849, 11.9214, 40.6754)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FAD #42AD2F
analogous
#5B2FAD #9A2FAD #AD2F81
triadic
#9A2FAD #AD9A2F #2FAD9A
tetradic
#9A2FAD #AD5B2F #42AD2F #2F81AD
square
#9A2FAD #AD5B2F #42AD2F #2F81AD
split-complementary
#9A2FAD #81AD2F #2FAD5B
monochromatic
#44154D #6F227D #9A2FAD #BA4BCE #CD7BDB

Accessibility & contrast

On white

6.21
#9A2FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9A2FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FAD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FAD#FFFFFF#000000##FFFFFF
##9A2FAD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#9B476B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2fad;
/* rgb */ color: rgb(154, 47, 173);
/* oklch */ color: oklch(51.9% 0.203 321.2);
Tailwind
colors: {
  custom: {
    50: '#bb72c6',
    500: '#9a2fad',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fad;
$custom-light: #bb72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fad",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 290.952,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51865,
    "c": 0.20347,
    "h": 321.2
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#9A2FAD
secondary
#80C474
accent
#E1475E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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