#9931C2#9931C2

#9931C2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.219 H 314.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9931C2
RGBrgb(153, 49, 194)
HSLhsl(283, 60%, 48%)
HSVhsv(283, 75%, 76%)
CMYKcmyk(21.1%, 74.7%, 0%, 23.9%)
CIE-LABlab(42.56, 63.49, -55.62)
CIE-LCHlch(42.56, 84.41, 318.78°)
OKLaboklab(53.31% 0.1531 -0.157)
OKLCHoklch(53.31% 0.219 314.3)
XYZxyz(23.9711, 12.8648, 52.2489)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931C2 #5AC231
analogous
#5031C2 #9931C2 #C231A3
triadic
#9931C2 #C29931 #31C299
tetradic
#9931C2 #C25031 #5AC231 #31A3C2
square
#9931C2 #C25031 #5AC231 #31A3C2
split-complementary
#9931C2 #A3C231 #31C250
monochromatic
#4C1860 #722591 #9931C2 #B35BD6 #C98CE2

Accessibility & contrast

On white

5.88
#9931C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9931C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931C2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931C2#FFFFFF#000000##FFFFFF
##9931C21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#955178
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9931c2;
/* rgb */ color: rgb(153, 49, 194);
/* oklch */ color: oklch(53.3% 0.219 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb74d5',
    500: '#9931c2',
    950: '#000000',
  },
}
SCSS
$custom: #9931c2;
$custom-light: #bb74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9931c2",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 283.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.2193,
    "h": 314.3
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#9931C2
secondary
#98CC83
accent
#E34572
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9931C2

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

Preview Lab → · Contrast checker → · Palette generator →

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