#931C8A#931C8A

#931C8A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.192 H 331.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#931C8A
RGBrgb(147, 28, 138)
HSLhsl(305, 68%, 34%)
HSVhsv(305, 81%, 58%)
CMYKcmyk(0%, 81%, 6.1%, 42.4%)
CIE-LABlab(35.73, 58.92, -33.04)
CIE-LCHlch(35.73, 67.55, 330.72°)
OKLaboklab(47.15% 0.1687 -0.0911)
OKLCHoklch(47.15% 0.192 331.6)
XYZxyz(17.0354, 8.8700, 24.8547)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C8A #1C9325
analogous
#611C93 #931C8A #931C4F
triadic
#931C8A #8A931C #1C8A93
tetradic
#931C8A #93611C #1C9325 #1C4F93
square
#931C8A #93611C #1C9325 #1C4F93
split-complementary
#931C8A #4F931C #1C9361
monochromatic
#2C0829 #60125A #931C8A #C626BA #DD4CD2

Accessibility & contrast

On white

7.57
#931C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#931C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931C8A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931C8A#FFFFFF#000000##FFFFFF
##931C8A1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#992C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931c8a;
/* rgb */ color: rgb(147, 28, 138);
/* oklch */ color: oklch(47.2% 0.192 331.6);
Tailwind
colors: {
  custom: {
    50: '#b668ac',
    500: '#931c8a',
    950: '#000000',
  },
}
SCSS
$custom: #931c8a;
$custom-light: #b668ac;
$custom-dark: #000000;
JSON
{
  "hex": "#931c8a",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 304.538,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.19173,
    "h": 331.6
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#931C8A
secondary
#4CBF54
accent
#EB4A3D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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