#931F8F#931F8F

#931F8F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.193 H 329.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#931F8F
RGBrgb(147, 31, 143)
HSLhsl(302, 65%, 35%)
HSVhsv(302, 79%, 58%)
CMYKcmyk(0%, 78.9%, 2.7%, 42.4%)
CIE-LABlab(36.30, 58.89, -35.21)
CIE-LCHlch(36.30, 68.61, 329.13°)
OKLaboklab(47.65% 0.1663 -0.0974)
OKLCHoklch(47.65% 0.193 329.7)
XYZxyz(17.4804, 9.1676, 26.8301)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F8F #1F9323
analogous
#5D1F93 #931F8F #931F55
triadic
#931F8F #8F931F #1F8F93
tetradic
#931F8F #935D1F #1F9323 #1F5593
square
#931F8F #935D1F #1F9323 #1F5593
split-complementary
#931F8F #55931F #1F935D
monochromatic
#2E0A2D #60145E #931F8F #C62AC0 #DA52D6

Accessibility & contrast

On white

7.41
#931F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#931F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F8F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F8F#FFFFFF#000000##FFFFFF
##931F8F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#983157
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931f8f;
/* rgb */ color: rgb(147, 31, 143);
/* oklch */ color: oklch(47.7% 0.193 329.7);
Tailwind
colors: {
  custom: {
    50: '#b669b0',
    500: '#931f8f',
    950: '#000000',
  },
}
SCSS
$custom: #931f8f;
$custom-light: #b669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#931f8f",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 302.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.19273,
    "h": 329.7
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#931F8F
secondary
#50BE54
accent
#E84540
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #931F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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