#931FB4#931FB4

#931FB4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.222 H 317.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#931FB4
RGBrgb(147, 31, 180)
HSLhsl(287, 71%, 41%)
HSVhsv(287, 83%, 71%)
CMYKcmyk(18.3%, 82.8%, 0%, 29.4%)
CIE-LABlab(38.69, 65.38, -53.68)
CIE-LCHlch(38.69, 84.60, 320.61°)
OKLaboklab(50.1% 0.1624 -0.1514)
OKLCHoklch(50.1% 0.222 317)
XYZxyz(20.7596, 10.4792, 44.1004)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931FB4 #40B41F
analogous
#481FB4 #931FB4 #B41F8B
triadic
#931FB4 #B4931F #1FB493
tetradic
#931FB4 #B4481F #40B41F #1F8BB4
square
#931FB4 #B4481F #40B41F #1F8BB4
split-complementary
#931FB4 #8BB41F #1FB448
monochromatic
#3E0D4C #681680 #931FB4 #B734DC #C968E5

Accessibility & contrast

On white

6.78
#931FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#931FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931FB4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931FB4#FFFFFF#000000##FFFFFF
##931FB41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#215EB1
Tritanopia (blue-blind)
#91446C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #931fb4;
/* rgb */ color: rgb(147, 31, 180);
/* oklch */ color: oklch(50.1% 0.222 317.0);
Tailwind
colors: {
  custom: {
    50: '#b76bcb',
    500: '#931fb4',
    950: '#000000',
  },
}
SCSS
$custom: #931fb4;
$custom-light: #b76bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#931fb4",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 286.711,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.222,
    "h": 317
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#931FB4
secondary
#7BCB64
accent
#ED3A62
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #931FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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