#9931C8#9931C8

#9931C8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.225 H 312.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9931C8
RGBrgb(153, 49, 200)
HSLhsl(281, 61%, 49%)
HSVhsv(281, 76%, 78%)
CMYKcmyk(23.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(42.97, 64.70, -58.44)
CIE-LCHlch(42.97, 87.18, 317.91°)
OKLaboklab(53.74% 0.1522 -0.1653)
OKLCHoklch(53.74% 0.225 312.6)
XYZxyz(24.6586, 13.1398, 55.8697)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931C8 #60C831
analogous
#4E31C8 #9931C8 #C831AC
triadic
#9931C8 #C89931 #31C899
tetradic
#9931C8 #C84E31 #60C831 #31ACC8
square
#9931C8 #C84E31 #60C831 #31ACC8
split-complementary
#9931C8 #ACC831 #31C84E
monochromatic
#4E1966 #732597 #9931C8 #B25FD8 #CA90E4

Accessibility & contrast

On white

5.79
#9931C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9931C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931C8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931C8#FFFFFF#000000##FFFFFF
##9931C81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#94547B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9931c8;
/* rgb */ color: rgb(153, 49, 200);
/* oklch */ color: oklch(53.7% 0.225 312.6);
Tailwind
colors: {
  custom: {
    50: '#bc74da',
    500: '#9931c8',
    950: '#000000',
  },
}
SCSS
$custom: #9931c8;
$custom-light: #bc74da;
$custom-dark: #000000;
JSON
{
  "hex": "#9931c8",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 281.325,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.22466,
    "h": 312.6
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#9931C8
secondary
#9DCE86
accent
#E44476
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9931C8

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

Preview Lab → · Contrast checker → · Palette generator →

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