#931988#931988

#931988 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.193 H 332.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#931988
RGBrgb(147, 25, 136)
HSLhsl(305, 71%, 34%)
HSVhsv(305, 83%, 58%)
CMYKcmyk(0%, 83%, 7.5%, 42.4%)
CIE-LABlab(35.36, 59.38, -32.40)
CIE-LCHlch(35.36, 67.64, 331.38°)
OKLaboklab(46.85% 0.1709 -0.0892)
OKLCHoklch(46.85% 0.193 332.4)
XYZxyz(16.8243, 8.6773, 24.0766)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931988 #199324
analogous
#611993 #931988 #93194B
triadic
#931988 #889319 #198893
tetradic
#931988 #936119 #199324 #194B93
square
#931988 #936119 #199324 #194B93
split-complementary
#931988 #4B9319 #199361
monochromatic
#2A0727 #5F1058 #931988 #C722B8 #E047D2

Accessibility & contrast

On white

7.68
#931988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#931988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931988
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931988#FFFFFF#000000##FFFFFF
##9319881.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488B
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#9A2951
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #931988;
/* rgb */ color: rgb(147, 25, 136);
/* oklch */ color: oklch(46.8% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#b767ab',
    500: '#931988',
    950: '#000000',
  },
}
SCSS
$custom: #931988;
$custom-light: #b767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#931988",
  "rgb": {
    "r": 147,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 305.41,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.19281,
    "h": 332.4
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#931988
secondary
#47C152
accent
#EE4A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931988

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

Preview Lab → · Contrast checker → · Palette generator →

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