#931C8F#931C8F

#931C8F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 329.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#931C8F
RGBrgb(147, 28, 143)
HSLhsl(302, 68%, 34%)
HSVhsv(302, 81%, 58%)
CMYKcmyk(0%, 81%, 2.7%, 42.4%)
CIE-LABlab(36.02, 59.72, -35.66)
CIE-LCHlch(36.02, 69.55, 329.16°)
OKLaboklab(47.45% 0.1687 -0.0987)
OKLCHoklch(47.45% 0.195 329.7)
XYZxyz(17.4057, 9.0181, 26.8052)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C8F #1C9320
analogous
#5C1C93 #931C8F #931C54
triadic
#931C8F #8F931C #1C8F93
tetradic
#931C8F #935C1C #1C9320 #1C5493
square
#931C8F #935C1C #1C9320 #1C5493
split-complementary
#931C8F #54931C #1C935C
monochromatic
#2C082B #60125D #931C8F #C626C1 #DD4CD8

Accessibility & contrast

On white

7.49
#931C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#931C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931C8F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931C8F#FFFFFF#000000##FFFFFF
##931C8F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#992F56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931c8f;
/* rgb */ color: rgb(147, 28, 143);
/* oklch */ color: oklch(47.4% 0.195 329.7);
Tailwind
colors: {
  custom: {
    50: '#b768b0',
    500: '#931c8f',
    950: '#000000',
  },
}
SCSS
$custom: #931c8f;
$custom-light: #b768b0;
$custom-dark: #000000;
JSON
{
  "hex": "#931c8f",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 302.017,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.19542,
    "h": 329.7
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#931C8F
secondary
#4CBF4F
accent
#EB433D
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #931C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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