#931B87#931B87

#931B87 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.190 H 332.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#931B87
RGBrgb(147, 27, 135)
HSLhsl(306, 69%, 34%)
HSVhsv(306, 82%, 58%)
CMYKcmyk(0%, 81.6%, 8.2%, 42.4%)
CIE-LABlab(35.47, 58.72, -31.59)
CIE-LCHlch(35.47, 66.68, 331.72°)
OKLaboklab(46.91% 0.1695 -0.0869)
OKLCHoklch(46.91% 0.19 332.9)
XYZxyz(16.7978, 8.7376, 23.7188)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B87 #1B9327
analogous
#631B93 #931B87 #931B4B
triadic
#931B87 #87931B #1B8793
tetradic
#931B87 #93631B #1B9327 #1B4B93
square
#931B87 #93631B #1B9327 #1B4B93
split-complementary
#931B87 #4B931B #1B9363
monochromatic
#2C0828 #5F1258 #931B87 #C724B6 #DE4BCF

Accessibility & contrast

On white

7.64
#931B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#931B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931B87
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B87#FFFFFF#000000##FFFFFF
##931B871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#9A2A51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #931b87;
/* rgb */ color: rgb(147, 27, 135);
/* oklch */ color: oklch(46.9% 0.190 332.9);
Tailwind
colors: {
  custom: {
    50: '#b768aa',
    500: '#931b87',
    950: '#000000',
  },
}
SCSS
$custom: #931b87;
$custom-light: #b768aa;
$custom-dark: #000000;
JSON
{
  "hex": "#931b87",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 306,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46912,
    "c": 0.19042,
    "h": 332.9
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#931B87
secondary
#4AC056
accent
#EC4E3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931B87

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

Preview Lab → · Contrast checker → · Palette generator →

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