#931FA7#931FA7

#931FA7 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.211 H 321.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#931FA7
RGBrgb(147, 31, 167)
HSLhsl(291, 69%, 39%)
HSVhsv(291, 81%, 65%)
CMYKcmyk(12%, 81.4%, 0%, 34.5%)
CIE-LABlab(37.80, 63.00, -47.38)
CIE-LCHlch(37.80, 78.83, 323.06°)
OKLaboklab(49.19% 0.1645 -0.1329)
OKLCHoklch(49.19% 0.211 321.1)
XYZxyz(19.4969, 9.9741, 37.4500)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931FA7 #33A71F
analogous
#4F1FA7 #931FA7 #A71F77
triadic
#931FA7 #A7931F #1FA793
tetradic
#931FA7 #A74F1F #33A71F #1F77A7
square
#931FA7 #A74F1F #33A71F #1F77A7
split-complementary
#931FA7 #77A71F #1FA74F
monochromatic
#380C40 #661573 #931FA7 #BE2BD8 #CE5FE1

Accessibility & contrast

On white

7.01
#931FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#931FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931FA7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931FA7#FFFFFF#000000##FFFFFF
##931FA71.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.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: #931fa7;
/* rgb */ color: rgb(147, 31, 167);
/* oklch */ color: oklch(49.2% 0.211 321.1);
Tailwind
colors: {
  custom: {
    50: '#b76bc2',
    500: '#931fa7',
    950: '#000000',
  },
}
SCSS
$custom: #931fa7;
$custom-light: #b76bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#931fa7",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 291.176,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.21149,
    "h": 321.1
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#931FA7
secondary
#6CC65C
accent
#EC3C56
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #931FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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