#931CB4#931CB4

#931CB4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.9% C 0.224 H 317.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#931CB4
RGBrgb(147, 28, 180)
HSLhsl(287, 73%, 41%)
HSVhsv(287, 84%, 71%)
CMYKcmyk(18.3%, 84.4%, 0%, 29.4%)
CIE-LABlab(38.43, 66.15, -54.11)
CIE-LCHlch(38.43, 85.46, 320.72°)
OKLaboklab(49.91% 0.1643 -0.1526)
OKLCHoklch(49.91% 0.224 317.1)
XYZxyz(20.6849, 10.3298, 44.0754)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931CB4 #3DB41C
analogous
#471CB4 #931CB4 #B41C89
triadic
#931CB4 #B4931C #1CB493
tetradic
#931CB4 #B4471C #3DB41C #1C89B4
square
#931CB4 #B4471C #3DB41C #1C89B4
split-complementary
#931CB4 #89B41C #1CB447
monochromatic
#3C0C4A #68147F #931CB4 #B82FDF #CA64E7

Accessibility & contrast

On white

6.85
#931CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#931CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931CB4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931CB4#FFFFFF#000000##FFFFFF
##931CB41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#91426B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #931cb4;
/* rgb */ color: rgb(147, 28, 180);
/* oklch */ color: oklch(49.9% 0.224 317.1);
Tailwind
colors: {
  custom: {
    50: '#b76acb',
    500: '#931cb4',
    950: '#000000',
  },
}
SCSS
$custom: #931cb4;
$custom-light: #b76acb;
$custom-dark: #000000;
JSON
{
  "hex": "#931cb4",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 286.974,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.22427,
    "h": 317.1
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#931CB4
secondary
#77CC60
accent
#F03860
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #931CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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