#931882#931882

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

Color values

HEX#931882
RGBrgb(147, 24, 130)
HSLhsl(308, 72%, 34%)
HSVhsv(308, 84%, 58%)
CMYKcmyk(0%, 83.7%, 11.6%, 42.4%)
CIE-LABlab(34.94, 58.72, -29.33)
CIE-LCHlch(34.94, 65.63, 333.46°)
OKLaboklab(46.44% 0.1715 -0.0803)
OKLCHoklch(46.44% 0.189 334.9)
XYZxyz(16.3887, 8.4695, 21.8864)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931882 #189329
analogous
#661893 #931882 #931844
triadic
#931882 #829318 #188293
tetradic
#931882 #936618 #189329 #184493
square
#931882 #936618 #189329 #184493
split-complementary
#931882 #449318 #189366
monochromatic
#2A0725 #5E0F53 #931882 #C821B1 #E145CB

Accessibility & contrast

On white

7.80
#931882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931882
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931882#FFFFFF#000000##FFFFFF
##9318821.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#48587F
Tritanopia (blue-blind)
#9B254E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931882;
/* rgb */ color: rgb(147, 24, 130);
/* oklch */ color: oklch(46.4% 0.189 334.9);
Tailwind
colors: {
  custom: {
    50: '#b767a6',
    500: '#931882',
    950: '#000000',
  },
}
SCSS
$custom: #931882;
$custom-light: #b767a6;
$custom-dark: #000000;
JSON
{
  "hex": "#931882",
  "rgb": {
    "r": 147,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 308.293,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.18939,
    "h": 334.9
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#931882
secondary
#45C256
accent
#EF5239
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931882

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

Preview Lab → · Contrast checker → · Palette generator →

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