#9A2FA0#9A2FA0

#9A2FA0 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.192 H 325.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A2FA0
RGBrgb(154, 47, 160)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.8%, 70.6%, 0%, 37.3%)
CIE-LABlab(40.32, 58.02, -39.08)
CIE-LCHlch(40.32, 69.96, 326.04°)
OKLaboklab(51.06% 0.1589 -0.1086)
OKLCHoklch(51.06% 0.192 325.7)
XYZxyz(20.6877, 11.4425, 34.3699)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FA0 #35A02F
analogous
#612FA0 #9A2FA0 #A02F6D
triadic
#9A2FA0 #A09A2F #2FA09A
tetradic
#9A2FA0 #A0612F #35A02F #2F6DA0
square
#9A2FA0 #A0612F #35A02F #2F6DA0
split-complementary
#9A2FA0 #6DA02F #2FA061
monochromatic
#3F1341 #6C2171 #9A2FA0 #C144C8 #D173D6

Accessibility & contrast

On white

6.39
#9A2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9A2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FA0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FA0#FFFFFF#000000##FFFFFF
##9A2FA01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A3
Deuteranopia (green-blind)
#47649D
Tritanopia (blue-blind)
#9E4164
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2fa0;
/* rgb */ color: rgb(154, 47, 160);
/* oklch */ color: oklch(51.1% 0.192 325.7);
Tailwind
colors: {
  custom: {
    50: '#bb72bc',
    500: '#9a2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fa0;
$custom-light: #bb72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fa0",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 296.814,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.19248,
    "h": 325.7
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#9A2FA0
secondary
#71BE6D
accent
#DE4A52
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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