#9931CF#9931CF

#9931CF is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.231 H 310.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9931CF
RGBrgb(153, 49, 207)
HSLhsl(279, 62%, 50%)
HSVhsv(279, 76%, 81%)
CMYKcmyk(26.1%, 76.3%, 0%, 18.8%)
CIE-LABlab(43.47, 66.13, -61.69)
CIE-LCHlch(43.47, 90.43, 316.99°)
OKLaboklab(54.24% 0.1509 -0.1748)
OKLCHoklch(54.24% 0.231 310.8)
XYZxyz(25.4955, 13.4745, 60.2772)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931CF #67CF31
analogous
#4A31CF #9931CF #CF31B6
triadic
#9931CF #CF9931 #31CF99
tetradic
#9931CF #CF4A31 #67CF31 #31B6CF
square
#9931CF #CF4A31 #67CF31 #31B6CF
split-complementary
#9931CF #B6CF31 #31CF4A
monochromatic
#50196C #75259E #9931CF #B263DB #CA94E6

Accessibility & contrast

On white

5.68
#9931CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9931CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931CF#FFFFFF#000000##FFFFFF
##9931CF1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0468CC
Tritanopia (blue-blind)
#92577F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9931cf;
/* rgb */ color: rgb(153, 49, 207);
/* oklch */ color: oklch(54.2% 0.231 310.8);
Tailwind
colors: {
  custom: {
    50: '#bc74df',
    500: '#9931cf',
    950: '#000000',
  },
}
SCSS
$custom: #9931cf;
$custom-light: #bc74df;
$custom-dark: #000000;
JSON
{
  "hex": "#9931cf",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 279.494,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54242,
    "c": 0.23095,
    "h": 310.8
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#9931CF
secondary
#A3D18B
accent
#E5437A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9931CF

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

Preview Lab → · Contrast checker → · Palette generator →

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