#9931AB#9931AB

#9931AB is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 321.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9931AB
RGBrgb(153, 49, 171)
HSLhsl(291, 55%, 43%)
HSVhsv(291, 71%, 67%)
CMYKcmyk(10.5%, 71.3%, 0%, 32.9%)
CIE-LABlab(41.07, 59.05, -44.46)
CIE-LCHlch(41.07, 73.91, 323.02°)
OKLaboklab(51.78% 0.1554 -0.1243)
OKLCHoklch(51.78% 0.199 321.3)
XYZxyz(21.5850, 11.9104, 39.6822)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931AB #43AB31
analogous
#5C31AB #9931AB #AB3180
triadic
#9931AB #AB9931 #31AB99
tetradic
#9931AB #AB5C31 #43AB31 #3180AB
square
#9931AB #AB5C31 #43AB31 #3180AB
split-complementary
#9931AB #80AB31 #31AB5C
monochromatic
#44164C #6E237B #9931AB #B94DCC #CC7DDA

Accessibility & contrast

On white

6.21
#9931AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9931AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931AB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931AB#FFFFFF#000000##FFFFFF
##9931AB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#9A476B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9931ab;
/* rgb */ color: rgb(153, 49, 171);
/* oklch */ color: oklch(51.8% 0.199 321.3);
Tailwind
colors: {
  custom: {
    50: '#bb73c4',
    500: '#9931ab',
    950: '#000000',
  },
}
SCSS
$custom: #9931ab;
$custom-light: #bb73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9931ab",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 291.148,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.199,
    "h": 321.3
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#9931AB
secondary
#81C275
accent
#DF495F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9931AB

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

Preview Lab → · Contrast checker → · Palette generator →

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