#931C7E#931C7E

#931C7E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.5% C 0.183 H 336.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#931C7E
RGBrgb(147, 28, 126)
HSLhsl(311, 68%, 34%)
HSVhsv(311, 81%, 58%)
CMYKcmyk(0%, 81%, 14.3%, 42.4%)
CIE-LABlab(35.09, 57.10, -26.60)
CIE-LCHlch(35.09, 63.00, 335.02°)
OKLaboklab(46.48% 0.1682 -0.0725)
OKLCHoklch(46.48% 0.183 336.7)
XYZxyz(16.2141, 8.5415, 20.5294)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C7E #1C9331
analogous
#6D1C93 #931C7E #931C43
triadic
#931C7E #7E931C #1C7E93
tetradic
#931C7E #936D1C #1C9331 #1C4393
square
#931C7E #936D1C #1C9331 #1C4393
split-complementary
#931C7E #43931C #1C936D
monochromatic
#2C0826 #601252 #931C7E #C626AA #DD4CC3

Accessibility & contrast

On white

7.75
#931C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#931C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931C7E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931C7E#FFFFFF#000000##FFFFFF
##931C7E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#9B254C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931c7e;
/* rgb */ color: rgb(147, 28, 126);
/* oklch */ color: oklch(46.5% 0.183 336.7);
Tailwind
colors: {
  custom: {
    50: '#b768a3',
    500: '#931c7e',
    950: '#000000',
  },
}
SCSS
$custom: #931c7e;
$custom-light: #b768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#931c7e",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 310.588,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.1832,
    "h": 336.7
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#931C7E
secondary
#4CBF60
accent
#EB5C3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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