#931781#931781

#931781 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.189 H 335.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#931781
RGBrgb(147, 23, 129)
HSLhsl(309, 73%, 33%)
HSVhsv(309, 84%, 58%)
CMYKcmyk(0%, 84.4%, 12.2%, 42.4%)
CIE-LABlab(34.81, 58.80, -28.91)
CIE-LCHlch(34.81, 65.53, 333.82°)
OKLaboklab(46.33% 0.1722 -0.0791)
OKLCHoklch(46.33% 0.189 335.3)
XYZxyz(16.3017, 8.4024, 21.5279)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931781 #179329
analogous
#671793 #931781 #931743
triadic
#931781 #819317 #178193
tetradic
#931781 #936717 #179329 #174393
square
#931781 #936717 #179329 #174393
split-complementary
#931781 #439317 #179367
monochromatic
#290624 #5E0F53 #931781 #C81FAF #E243CB

Accessibility & contrast

On white

7.84
#931781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#931781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931781
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931781#FFFFFF#000000##FFFFFF
##9317811.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174684
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#9B244D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931781;
/* rgb */ color: rgb(147, 23, 129);
/* oklch */ color: oklch(46.3% 0.189 335.3);
Tailwind
colors: {
  custom: {
    50: '#b766a6',
    500: '#931781',
    950: '#000000',
  },
}
SCSS
$custom: #931781;
$custom-light: #b766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#931781",
  "rgb": {
    "r": 147,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 308.71,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4633,
    "c": 0.18949,
    "h": 335.3
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#931781
secondary
#44C256
accent
#F05338
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931781

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

Preview Lab → · Contrast checker → · Palette generator →

#931781 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva