#9A2FA3#9A2FA3

#9A2FA3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 324.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9A2FA3
RGBrgb(154, 47, 163)
HSLhsl(295, 55%, 41%)
HSVhsv(295, 71%, 64%)
CMYKcmyk(5.5%, 71.2%, 0%, 36.1%)
CIE-LABlab(40.49, 58.56, -40.60)
CIE-LCHlch(40.49, 71.26, 325.26°)
OKLaboklab(51.24% 0.1589 -0.113)
OKLCHoklch(51.24% 0.195 324.6)
XYZxyz(20.9533, 11.5487, 35.7687)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FA3 #38A32F
analogous
#602FA3 #9A2FA3 #A32F72
triadic
#9A2FA3 #A39A2F #2FA39A
tetradic
#9A2FA3 #A3602F #38A32F #2F72A3
square
#9A2FA3 #A3602F #38A32F #2F72A3
split-complementary
#9A2FA3 #72A32F #2FA360
monochromatic
#401444 #6D2173 #9A2FA3 #BF46CA #D075D7

Accessibility & contrast

On white

6.35
#9A2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9A2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FA3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FA3#FFFFFF#000000##FFFFFF
##9A2FA31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A6
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#9D4266
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2fa3;
/* rgb */ color: rgb(154, 47, 163);
/* oklch */ color: oklch(51.2% 0.195 324.6);
Tailwind
colors: {
  custom: {
    50: '#bb72bf',
    500: '#9a2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fa3;
$custom-light: #bb72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fa3",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 295.345,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.19499,
    "h": 324.6
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#9A2FA3
secondary
#75BF6F
accent
#DF4955
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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