#931EB4#931EB4

#931EB4 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.0% C 0.223 H 317.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#931EB4
RGBrgb(147, 30, 180)
HSLhsl(287, 71%, 41%)
HSVhsv(287, 83%, 71%)
CMYKcmyk(18.3%, 83.3%, 0%, 29.4%)
CIE-LABlab(38.60, 65.65, -53.83)
CIE-LCHlch(38.60, 84.89, 320.65°)
OKLaboklab(50.03% 0.163 -0.1518)
OKLCHoklch(50.03% 0.223 317)
XYZxyz(20.7339, 10.4278, 44.0918)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931EB4 #3FB41E
analogous
#481EB4 #931EB4 #B41E8A
triadic
#931EB4 #B4931E #1EB493
tetradic
#931EB4 #B4481E #3FB41E #1E8AB4
square
#931EB4 #B4481E #3FB41E #1E8AB4
split-complementary
#931EB4 #8AB41E #1EB448
monochromatic
#3D0D4B #681580 #931EB4 #B732DD #CA67E6

Accessibility & contrast

On white

6.81
#931EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#931EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931EB4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931EB4#FFFFFF#000000##FFFFFF
##931EB41.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931eb4;
/* rgb */ color: rgb(147, 30, 180);
/* oklch */ color: oklch(50.0% 0.223 317.0);
Tailwind
colors: {
  custom: {
    50: '#b76bcb',
    500: '#931eb4',
    950: '#000000',
  },
}
SCSS
$custom: #931eb4;
$custom-light: #b76bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#931eb4",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 286.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.22278,
    "h": 317
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#931EB4
secondary
#7ACB63
accent
#EE3A61
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #931EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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