#9931CC#9931CC

#9931CC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.228 H 311.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9931CC
RGBrgb(153, 49, 204)
HSLhsl(280, 61%, 50%)
HSVhsv(280, 76%, 80%)
CMYKcmyk(25%, 76%, 0%, 20%)
CIE-LABlab(43.26, 65.51, -60.30)
CIE-LCHlch(43.26, 89.04, 317.37°)
OKLaboklab(54.02% 0.1515 -0.1708)
OKLCHoklch(54.02% 0.228 311.6)
XYZxyz(25.1322, 13.3292, 58.3639)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931CC #64CC31
analogous
#4B31CC #9931CC #CC31B2
triadic
#9931CC #CC9931 #31CC99
tetradic
#9931CC #CC4B31 #64CC31 #31B2CC
square
#9931CC #CC4B31 #64CC31 #31B2CC
split-complementary
#9931CC #B2CC31 #31CC4B
monochromatic
#4F1969 #74259B #9931CC #B261D9 #CA92E5

Accessibility & contrast

On white

5.73
#9931CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9931CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931CC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931CC#FFFFFF#000000##FFFFFF
##9931CC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#93567D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9931cc;
/* rgb */ color: rgb(153, 49, 204);
/* oklch */ color: oklch(54.0% 0.228 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc74dc',
    500: '#9931cc',
    950: '#000000',
  },
}
SCSS
$custom: #9931cc;
$custom-light: #bc74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9931cc",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 280.258,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.22826,
    "h": 311.6
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#9931CC
secondary
#A0D089
accent
#E44378
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9931CC

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

Preview Lab → · Contrast checker → · Palette generator →

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