#9931A2#9931A2

#9931A2 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.191 H 324.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9931A2
RGBrgb(153, 49, 162)
HSLhsl(295, 54%, 41%)
HSVhsv(295, 70%, 64%)
CMYKcmyk(5.6%, 69.8%, 0%, 36.5%)
CIE-LABlab(40.54, 57.40, -39.94)
CIE-LCHlch(40.54, 69.92, 325.17°)
OKLaboklab(51.23% 0.1557 -0.1111)
OKLCHoklch(51.23% 0.191 324.5)
XYZxyz(20.7562, 11.5788, 35.3171)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931A2 #3AA231
analogous
#6131A2 #9931A2 #A23173
triadic
#9931A2 #A29931 #31A299
tetradic
#9931A2 #A26131 #3AA231 #3173A2
square
#9931A2 #A26131 #3AA231 #3173A2
split-complementary
#9931A2 #73A231 #31A261
monochromatic
#401544 #6D2373 #9931A2 #BE48C8 #CE77D6

Accessibility & contrast

On white

6.33
#9931A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9931A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931A2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931A2#FFFFFF#000000##FFFFFF
##9931A21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#9C4366
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9931a2;
/* rgb */ color: rgb(153, 49, 162);
/* oklch */ color: oklch(51.2% 0.191 324.5);
Tailwind
colors: {
  custom: {
    50: '#ba73be',
    500: '#9931a2',
    950: '#000000',
  },
}
SCSS
$custom: #9931a2;
$custom-light: #ba73be;
$custom-dark: #000000;
JSON
{
  "hex": "#9931a2",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 295.221,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.19126,
    "h": 324.5
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#9931A2
secondary
#77BE71
accent
#DD4B56
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9931A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9931A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva