#931EA7#931EA7

#931EA7 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.212 H 321.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#931EA7
RGBrgb(147, 30, 167)
HSLhsl(291, 70%, 39%)
HSVhsv(291, 82%, 65%)
CMYKcmyk(12%, 82%, 0%, 34.5%)
CIE-LABlab(37.70, 63.27, -47.53)
CIE-LCHlch(37.70, 79.13, 323.09°)
OKLaboklab(49.12% 0.1652 -0.1333)
OKLCHoklch(49.12% 0.212 321.1)
XYZxyz(19.4711, 9.9227, 37.4414)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931EA7 #32A71E
analogous
#4E1EA7 #931EA7 #A71E76
triadic
#931EA7 #A7931E #1EA793
tetradic
#931EA7 #A74E1E #32A71E #1E76A7
square
#931EA7 #A74E1E #32A71E #1E76A7
split-complementary
#931EA7 #76A71E #1EA74E
monochromatic
#380B3F #651573 #931EA7 #BF2AD9 #CF5DE2

Accessibility & contrast

On white

7.04
#931EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#931EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931EA7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931EA7#FFFFFF#000000##FFFFFF
##931EA71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#943D64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #931ea7;
/* rgb */ color: rgb(147, 30, 167);
/* oklch */ color: oklch(49.1% 0.212 321.1);
Tailwind
colors: {
  custom: {
    50: '#b76ac2',
    500: '#931ea7',
    950: '#000000',
  },
}
SCSS
$custom: #931ea7;
$custom-light: #b76ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#931ea7",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 291.241,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.21231,
    "h": 321.1
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#931EA7
secondary
#6AC65B
accent
#EC3B55
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #931EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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