#9A2FA5#9A2FA5

#9A2FA5 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.197 H 323.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9A2FA5
RGBrgb(154, 47, 165)
HSLhsl(294, 56%, 42%)
HSVhsv(294, 72%, 65%)
CMYKcmyk(6.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(40.61, 58.92, -41.61)
CIE-LCHlch(40.61, 72.13, 324.77°)
OKLaboklab(51.36% 0.1589 -0.1159)
OKLCHoklch(51.36% 0.197 323.9)
XYZxyz(21.1339, 11.6209, 36.7199)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FA5 #3AA52F
analogous
#5F2FA5 #9A2FA5 #A52F75
triadic
#9A2FA5 #A59A2F #2FA59A
tetradic
#9A2FA5 #A55F2F #3AA52F #2F75A5
square
#9A2FA5 #A55F2F #3AA52F #2F75A5
split-complementary
#9A2FA5 #75A52F #2FA55F
monochromatic
#411446 #6E2175 #9A2FA5 #BE47CB #CF76D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2FA5#FFFFFF#000000##FFFFFF
##9A2FA51.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)
#0758A8
Deuteranopia (green-blind)
#4464A2
Tritanopia (blue-blind)
#9D4367
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2fa5;
/* rgb */ color: rgb(154, 47, 165);
/* oklch */ color: oklch(51.4% 0.197 323.9);
Tailwind
colors: {
  custom: {
    50: '#bb72c0',
    500: '#9a2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fa5;
$custom-light: #bb72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fa5",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 294.407,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.19667,
    "h": 323.9
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#9A2FA5
secondary
#77C070
accent
#DF4957
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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