#9A2FA4#9A2FA4

#9A2FA4 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.196 H 324.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9A2FA4
RGBrgb(154, 47, 164)
HSLhsl(295, 55%, 41%)
HSVhsv(295, 71%, 64%)
CMYKcmyk(6.1%, 71.3%, 0%, 35.7%)
CIE-LABlab(40.55, 58.74, -41.11)
CIE-LCHlch(40.55, 71.69, 325.01°)
OKLaboklab(51.3% 0.1589 -0.1145)
OKLCHoklch(51.3% 0.196 324.2)
XYZxyz(21.0432, 11.5847, 36.2424)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FA4 #39A42F
analogous
#602FA4 #9A2FA4 #A42F74
triadic
#9A2FA4 #A49A2F #2FA49A
tetradic
#9A2FA4 #A4602F #39A42F #2F74A4
square
#9A2FA4 #A4602F #39A42F #2F74A4
split-complementary
#9A2FA4 #74A42F #2FA460
monochromatic
#411445 #6D2174 #9A2FA4 #BF46CA #CF76D8

Accessibility & contrast

On white

6.33
#9A2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2FA4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FA4#FFFFFF#000000##FFFFFF
##9A2FA41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#9D4366
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2fa4;
/* rgb */ color: rgb(154, 47, 164);
/* oklch */ color: oklch(51.3% 0.196 324.2);
Tailwind
colors: {
  custom: {
    50: '#bb72bf',
    500: '#9a2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fa4;
$custom-light: #bb72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fa4",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 294.872,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51303,
    "c": 0.19583,
    "h": 324.2
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#9A2FA4
secondary
#76C06F
accent
#DF4956
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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