#9931B5#9931B5

#9931B5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.208 H 318.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9931B5
RGBrgb(153, 49, 181)
HSLhsl(287, 57%, 45%)
HSVhsv(287, 73%, 71%)
CMYKcmyk(15.5%, 72.9%, 0%, 29%)
CIE-LABlab(41.70, 60.94, -49.38)
CIE-LCHlch(41.70, 78.44, 320.99°)
OKLaboklab(52.43% 0.1547 -0.1387)
OKLCHoklch(52.43% 0.208 318.1)
XYZxyz(22.5745, 12.3061, 44.8933)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931B5 #4DB531
analogous
#5731B5 #9931B5 #B5318F
triadic
#9931B5 #B59931 #31B599
tetradic
#9931B5 #B55731 #4DB531 #318FB5
square
#9931B5 #B55731 #4DB531 #318FB5
split-complementary
#9931B5 #8FB531 #31B557
monochromatic
#481755 #702485 #9931B5 #B653D0 #CA83DD

Accessibility & contrast

On white

6.07
#9931B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9931B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931B5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931B5#FFFFFF#000000##FFFFFF
##9931B51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#984C70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9931b5;
/* rgb */ color: rgb(153, 49, 181);
/* oklch */ color: oklch(52.4% 0.208 318.1);
Tailwind
colors: {
  custom: {
    50: '#bb73cc',
    500: '#9931b5',
    950: '#000000',
  },
}
SCSS
$custom: #9931b5;
$custom-light: #bb73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9931b5",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 287.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.20775,
    "h": 318.1
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#9931B5
secondary
#8BC77B
accent
#E14768
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9931B5

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

Preview Lab → · Contrast checker → · Palette generator →

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