#931881#931881

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

Color values

HEX#931881
RGBrgb(147, 24, 129)
HSLhsl(309, 72%, 34%)
HSVhsv(309, 84%, 58%)
CMYKcmyk(0%, 83.7%, 12.2%, 42.4%)
CIE-LABlab(34.89, 58.57, -28.79)
CIE-LCHlch(34.89, 65.26, 333.83°)
OKLaboklab(46.39% 0.1715 -0.0788)
OKLCHoklch(46.39% 0.189 335.3)
XYZxyz(16.3220, 8.4428, 21.5346)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931881 #18932A
analogous
#671893 #931881 #931844
triadic
#931881 #819318 #188193
tetradic
#931881 #936718 #18932A #184493
square
#931881 #936718 #18932A #184493
split-complementary
#931881 #449318 #189367
monochromatic
#2A0725 #5E0F53 #931881 #C821AF #E145CA

Accessibility & contrast

On white

7.81
#931881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#931881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931881
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931881#FFFFFF#000000##FFFFFF
##9318811.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931881;
/* rgb */ color: rgb(147, 24, 129);
/* oklch */ color: oklch(46.4% 0.189 335.3);
Tailwind
colors: {
  custom: {
    50: '#b767a6',
    500: '#931881',
    950: '#000000',
  },
}
SCSS
$custom: #931881;
$custom-light: #b767a6;
$custom-dark: #000000;
JSON
{
  "hex": "#931881",
  "rgb": {
    "r": 147,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 308.78,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.1887,
    "h": 335.3
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#931881
secondary
#45C257
accent
#EF5439
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931881

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

Preview Lab → · Contrast checker → · Palette generator →

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