#9A2FA2#9A2FA2

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

Color values

HEX#9A2FA2
RGBrgb(154, 47, 162)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.9%, 71%, 0%, 36.5%)
CIE-LABlab(40.43, 58.38, -40.10)
CIE-LCHlch(40.43, 70.82, 325.52°)
OKLaboklab(51.18% 0.1589 -0.1115)
OKLCHoklch(51.18% 0.194 324.9)
XYZxyz(20.8640, 11.5130, 35.2987)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FA2 #37A22F
analogous
#602FA2 #9A2FA2 #A22F70
triadic
#9A2FA2 #A29A2F #2FA29A
tetradic
#9A2FA2 #A2602F #37A22F #2F70A2
square
#9A2FA2 #A2602F #37A22F #2F70A2
split-complementary
#9A2FA2 #70A22F #2FA260
monochromatic
#401343 #6D2173 #9A2FA2 #C045C9 #D075D7

Accessibility & contrast

On white

6.36
#9A2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9A2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FA2#FFFFFF#000000##FFFFFF
##9A2FA21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#9D4265
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2fa2;
/* rgb */ color: rgb(154, 47, 162);
/* oklch */ color: oklch(51.2% 0.194 324.9);
Tailwind
colors: {
  custom: {
    50: '#bb72be',
    500: '#9a2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fa2;
$custom-light: #bb72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fa2",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 295.826,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.19415,
    "h": 324.9
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#9A2FA2
secondary
#74BF6E
accent
#DE4954
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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