#931F8D#931F8D

#931F8D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.191 H 330.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#931F8D
RGBrgb(147, 31, 141)
HSLhsl(303, 65%, 35%)
HSVhsv(303, 79%, 58%)
CMYKcmyk(0%, 78.9%, 4.1%, 42.4%)
CIE-LABlab(36.19, 58.57, -34.16)
CIE-LCHlch(36.19, 67.80, 329.75°)
OKLaboklab(47.53% 0.1663 -0.0943)
OKLCHoklch(47.53% 0.191 330.4)
XYZxyz(17.3303, 9.1075, 26.0393)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F8D #1F9325
analogous
#5F1F93 #931F8D #931F53
triadic
#931F8D #8D931F #1F8D93
tetradic
#931F8D #935F1F #1F9325 #1F5393
square
#931F8D #935F1F #1F9325 #1F5393
split-complementary
#931F8D #53931F #1F935F
monochromatic
#2E0A2C #60145D #931F8D #C62ABD #DA52D3

Accessibility & contrast

On white

7.44
#931F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#931F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F8D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F8D#FFFFFF#000000##FFFFFF
##931F8D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#445B8A
Tritanopia (blue-blind)
#993055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931f8d;
/* rgb */ color: rgb(147, 31, 141);
/* oklch */ color: oklch(47.5% 0.191 330.4);
Tailwind
colors: {
  custom: {
    50: '#b669af',
    500: '#931f8d',
    950: '#000000',
  },
}
SCSS
$custom: #931f8d;
$custom-light: #b669af;
$custom-dark: #000000;
JSON
{
  "hex": "#931f8d",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 303.103,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.19122,
    "h": 330.4
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#931F8D
secondary
#50BE56
accent
#E84840
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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