#9931C6#9931C6

#9931C6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 313.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9931C6
RGBrgb(153, 49, 198)
HSLhsl(282, 60%, 48%)
HSVhsv(282, 75%, 78%)
CMYKcmyk(22.7%, 75.3%, 0%, 22.4%)
CIE-LABlab(42.83, 64.30, -57.50)
CIE-LCHlch(42.83, 86.26, 318.19°)
OKLaboklab(53.59% 0.1525 -0.1625)
OKLCHoklch(53.59% 0.223 313.2)
XYZxyz(24.4264, 13.0469, 54.6467)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931C6 #5EC631
analogous
#4E31C6 #9931C6 #C631A8
triadic
#9931C6 #C69931 #31C699
tetradic
#9931C6 #C64E31 #5EC631 #31A8C6
square
#9931C6 #C64E31 #5EC631 #31A8C6
split-complementary
#9931C6 #A8C631 #31C64E
monochromatic
#4D1964 #732595 #9931C6 #B25DD7 #C98EE3

Accessibility & contrast

On white

5.82
#9931C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9931C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931C6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931C6#FFFFFF#000000##FFFFFF
##9931C61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#2067C3
Tritanopia (blue-blind)
#94537A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9931c6;
/* rgb */ color: rgb(153, 49, 198);
/* oklch */ color: oklch(53.6% 0.223 313.2);
Tailwind
colors: {
  custom: {
    50: '#bc74d8',
    500: '#9931c6',
    950: '#000000',
  },
}
SCSS
$custom: #9931c6;
$custom-light: #bc74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9931c6",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 281.879,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.22287,
    "h": 313.2
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#9931C6
secondary
#9BCE85
accent
#E34474
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9931C6

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

Preview Lab → · Contrast checker → · Palette generator →

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