#931F97#931F97

#931F97 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.199 H 326.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#931F97
RGBrgb(147, 31, 151)
HSLhsl(298, 66%, 36%)
HSVhsv(298, 79%, 59%)
CMYKcmyk(2.6%, 79.5%, 0%, 40.8%)
CIE-LABlab(36.78, 60.21, -39.34)
CIE-LCHlch(36.78, 71.93, 326.84°)
OKLaboklab(48.14% 0.1661 -0.1094)
OKLCHoklch(48.14% 0.199 326.6)
XYZxyz(18.1082, 9.4187, 30.1364)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F97 #23971F
analogous
#571F97 #931F97 #971F5F
triadic
#931F97 #97931F #1F9793
tetradic
#931F97 #97571F #23971F #1F5F97
square
#931F97 #97571F #23971F #1F5F97
split-complementary
#931F97 #5F971F #1F9757
monochromatic
#300A31 #621564 #931F97 #C429CA #D754DC

Accessibility & contrast

On white

7.28
#931F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#931F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F97
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F97#FFFFFF#000000##FFFFFF
##931F971.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#97355B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #931f97;
/* rgb */ color: rgb(147, 31, 151);
/* oklch */ color: oklch(48.1% 0.199 326.6);
Tailwind
colors: {
  custom: {
    50: '#b76ab6',
    500: '#931f97',
    950: '#000000',
  },
}
SCSS
$custom: #931f97;
$custom-light: #b76ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#931f97",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 298,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.19885,
    "h": 326.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#931F97
secondary
#56BF52
accent
#E93F45
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #931F97

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

Preview Lab → · Contrast checker → · Palette generator →

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