#931E7F#931E7F

#931E7F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.182 H 336.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#931E7F
RGBrgb(147, 30, 127)
HSLhsl(310, 66%, 35%)
HSVhsv(310, 80%, 58%)
CMYKcmyk(0%, 79.6%, 13.6%, 42.4%)
CIE-LABlab(35.33, 56.69, -26.84)
CIE-LCHlch(35.33, 62.73, 334.66°)
OKLaboklab(46.67% 0.1666 -0.0732)
OKLCHoklch(46.67% 0.182 336.3)
XYZxyz(16.3279, 8.6654, 20.8872)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931E7F #1E9332
analogous
#6C1E93 #931E7F #931E45
triadic
#931E7F #7F931E #1E7F93
tetradic
#931E7F #936C1E #1E9332 #1E4593
square
#931E7F #936C1E #1E9332 #1E4593
split-complementary
#931E7F #45931E #1E936C
monochromatic
#2D0927 #601453 #931E7F #C628AB #DB50C4

Accessibility & contrast

On white

7.68
#931E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#931E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931E7F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931E7F#FFFFFF#000000##FFFFFF
##931E7F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204882
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#9B274D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #931e7f;
/* rgb */ color: rgb(147, 30, 127);
/* oklch */ color: oklch(46.7% 0.182 336.3);
Tailwind
colors: {
  custom: {
    50: '#b668a4',
    500: '#931e7f',
    950: '#000000',
  },
}
SCSS
$custom: #931e7f;
$custom-light: #b668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#931e7f",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 310.256,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.18202,
    "h": 336.3
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#931E7F
secondary
#4FBE62
accent
#E95C3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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