#931FA1#931FA1

#931FA1 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.207 H 323.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#931FA1
RGBrgb(147, 31, 161)
HSLhsl(294, 68%, 38%)
HSVhsv(294, 81%, 63%)
CMYKcmyk(8.7%, 80.7%, 0%, 36.9%)
CIE-LABlab(37.40, 61.94, -44.40)
CIE-LCHlch(37.40, 76.21, 324.36°)
OKLaboklab(48.78% 0.1652 -0.1242)
OKLCHoklch(48.78% 0.207 323.1)
XYZxyz(18.9550, 9.7574, 34.5963)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931FA1 #2DA11F
analogous
#521FA1 #931FA1 #A11F6E
triadic
#931FA1 #A1931F #1FA193
tetradic
#931FA1 #A1521F #2DA11F #1F6EA1
square
#931FA1 #A1521F #2DA11F #1F6EA1
split-complementary
#931FA1 #6EA11F #1FA152
monochromatic
#350B3A #64156E #931FA1 #C229D4 #D15BDF

Accessibility & contrast

On white

7.12
#931FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#931FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931FA1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931FA1#FFFFFF#000000##FFFFFF
##931FA11.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#375C9E
Tritanopia (blue-blind)
#953A61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #931fa1;
/* rgb */ color: rgb(147, 31, 161);
/* oklch */ color: oklch(48.8% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#b76abd',
    500: '#931fa1',
    950: '#000000',
  },
}
SCSS
$custom: #931fa1;
$custom-light: #b76abd;
$custom-dark: #000000;
JSON
{
  "hex": "#931fa1",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 293.538,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.2067,
    "h": 323.1
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#931FA1
secondary
#64C458
accent
#EB3D50
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #931FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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