#931C8C#931C8C

#931C8C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.193 H 330.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#931C8C
RGBrgb(147, 28, 140)
HSLhsl(304, 68%, 34%)
HSVhsv(304, 81%, 58%)
CMYKcmyk(0%, 81%, 4.8%, 42.4%)
CIE-LABlab(35.85, 59.24, -34.09)
CIE-LCHlch(35.85, 68.35, 330.08°)
OKLaboklab(47.27% 0.1687 -0.0941)
OKLCHoklch(47.27% 0.193 330.8)
XYZxyz(17.1815, 8.9284, 25.6243)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C8C #1C9323
analogous
#5E1C93 #931C8C #931C51
triadic
#931C8C #8C931C #1C8C93
tetradic
#931C8C #935E1C #1C9323 #1C5193
square
#931C8C #935E1C #1C9323 #1C5193
split-complementary
#931C8C #51931C #1C935E
monochromatic
#2C082A #60125B #931C8C #C626BD #DD4CD4

Accessibility & contrast

On white

7.54
#931C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#931C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931C8C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931C8C#FFFFFF#000000##FFFFFF
##931C8C1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#992D54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931c8c;
/* rgb */ color: rgb(147, 28, 140);
/* oklch */ color: oklch(47.3% 0.193 330.8);
Tailwind
colors: {
  custom: {
    50: '#b668ae',
    500: '#931c8c',
    950: '#000000',
  },
}
SCSS
$custom: #931c8c;
$custom-light: #b668ae;
$custom-dark: #000000;
JSON
{
  "hex": "#931c8c",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 303.529,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.1932,
    "h": 330.8
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#931C8C
secondary
#4CBF52
accent
#EB473D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931C8C

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

Preview Lab → · Contrast checker → · Palette generator →

#931C8C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva