#931FA8#931FA8

#931FA8 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.212 H 320.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#931FA8
RGBrgb(147, 31, 168)
HSLhsl(291, 69%, 39%)
HSVhsv(291, 82%, 66%)
CMYKcmyk(12.5%, 81.5%, 0%, 34.1%)
CIE-LABlab(37.86, 63.18, -47.87)
CIE-LCHlch(37.86, 79.27, 322.85°)
OKLaboklab(49.25% 0.1644 -0.1343)
OKLCHoklch(49.25% 0.212 320.7)
XYZxyz(19.5897, 10.0113, 37.9387)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931FA8 #34A81F
analogous
#4F1FA8 #931FA8 #A81F79
triadic
#931FA8 #A8931F #1FA893
tetradic
#931FA8 #A84F1F #34A81F #1F79A8
square
#931FA8 #A84F1F #34A81F #1F79A8
split-complementary
#931FA8 #79A81F #1FA84F
monochromatic
#390C41 #661574 #931FA8 #BE2CD8 #CE60E2

Accessibility & contrast

On white

7.00
#931FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#931FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931FA8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931FA8#FFFFFF#000000##FFFFFF
##931FA81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#943E65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #931fa8;
/* rgb */ color: rgb(147, 31, 168);
/* oklch */ color: oklch(49.3% 0.212 320.7);
Tailwind
colors: {
  custom: {
    50: '#b76bc2',
    500: '#931fa8',
    950: '#000000',
  },
}
SCSS
$custom: #931fa8;
$custom-light: #b76bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#931fa8",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 290.803,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.21229,
    "h": 320.7
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#931FA8
secondary
#6DC65D
accent
#EC3C57
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #931FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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