#9A2FA9#9A2FA9

#9A2FA9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.6% C 0.200 H 322.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2FA9
RGBrgb(154, 47, 169)
HSLhsl(293, 56%, 42%)
HSVhsv(293, 72%, 66%)
CMYKcmyk(8.9%, 72.2%, 0%, 33.7%)
CIE-LABlab(40.85, 59.64, -43.62)
CIE-LCHlch(40.85, 73.89, 323.82°)
OKLaboklab(51.61% 0.1587 -0.1218)
OKLCHoklch(51.61% 0.2 322.5)
XYZxyz(21.5036, 11.7689, 38.6674)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FA9 #3EA92F
analogous
#5D2FA9 #9A2FA9 #A92F7B
triadic
#9A2FA9 #A99A2F #2FA99A
tetradic
#9A2FA9 #A95D2F #3EA92F #2F7BA9
square
#9A2FA9 #A95D2F #3EA92F #2F7BA9
split-complementary
#9A2FA9 #7BA92F #2FA95D
monochromatic
#431449 #6E2279 #9A2FA9 #BC49CC #CE79DA

Accessibility & contrast

On white

6.26
#9A2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9A2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FA9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FA9#FFFFFF#000000##FFFFFF
##9A2FA91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#9C4569
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2fa9;
/* rgb */ color: rgb(154, 47, 169);
/* oklch */ color: oklch(51.6% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#bb72c3',
    500: '#9a2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fa9;
$custom-light: #bb72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fa9",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 292.623,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51612,
    "c": 0.20006,
    "h": 322.5
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#9A2FA9
secondary
#7CC272
accent
#E0485B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9A2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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