#931B97#931B97

#931B97 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.202 H 326.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#931B97
RGBrgb(147, 27, 151)
HSLhsl(298, 70%, 35%)
HSVhsv(298, 82%, 59%)
CMYKcmyk(2.6%, 82.1%, 0%, 40.8%)
CIE-LABlab(36.41, 61.28, -39.93)
CIE-LCHlch(36.41, 73.14, 326.91°)
OKLaboklab(47.88% 0.169 -0.1111)
OKLCHoklch(47.88% 0.202 326.7)
XYZxyz(18.0102, 9.2226, 30.1037)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B97 #1F971B
analogous
#551B97 #931B97 #971B5D
triadic
#931B97 #97931B #1B9793
tetradic
#931B97 #97551B #1F971B #1B5D97
square
#931B97 #97551B #1F971B #1B5D97
split-complementary
#931B97 #5D971B #1B9755
monochromatic
#2E082F #601263 #931B97 #C624CB #DA4DDF

Accessibility & contrast

On white

7.38
#931B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#931B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931B97
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B97#FFFFFF#000000##FFFFFF
##931B971.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#97335A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #931b97;
/* rgb */ color: rgb(147, 27, 151);
/* oklch */ color: oklch(47.9% 0.202 326.7);
Tailwind
colors: {
  custom: {
    50: '#b768b6',
    500: '#931b97',
    950: '#000000',
  },
}
SCSS
$custom: #931b97;
$custom-light: #b768b6;
$custom-dark: #000000;
JSON
{
  "hex": "#931b97",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 298.065,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.20229,
    "h": 326.7
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#931B97
secondary
#50C14C
accent
#EC3B41
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #931B97

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

Preview Lab → · Contrast checker → · Palette generator →

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