#931F9E#931F9E

#931F9E is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.204 H 324.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#931F9E
RGBrgb(147, 31, 158)
HSLhsl(295, 67%, 37%)
HSVhsv(295, 80%, 62%)
CMYKcmyk(7%, 80.4%, 0%, 38%)
CIE-LABlab(37.21, 61.41, -42.90)
CIE-LCHlch(37.21, 74.91, 325.07°)
OKLaboklab(48.59% 0.1655 -0.1198)
OKLCHoklch(48.59% 0.204 324.1)
XYZxyz(18.6936, 9.6528, 33.2197)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F9E #2A9E1F
analogous
#541F9E #931F9E #9E1F6A
triadic
#931F9E #9E931F #1F9E93
tetradic
#931F9E #9E541F #2A9E1F #1F6A9E
square
#931F9E #9E541F #2A9E1F #1F6A9E
split-complementary
#931F9E #6A9E1F #1F9E54
monochromatic
#340B38 #63156B #931F9E #C329D1 #D359DE

Accessibility & contrast

On white

7.17
#931F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#931F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F9E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F9E#FFFFFF#000000##FFFFFF
##931F9E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#96395F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #931f9e;
/* rgb */ color: rgb(147, 31, 158);
/* oklch */ color: oklch(48.6% 0.204 324.1);
Tailwind
colors: {
  custom: {
    50: '#b76abb',
    500: '#931f9e',
    950: '#000000',
  },
}
SCSS
$custom: #931f9e;
$custom-light: #b76abb;
$custom-dark: #000000;
JSON
{
  "hex": "#931f9e",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 294.803,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.20433,
    "h": 324.1
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#931F9E
secondary
#60C256
accent
#EA3E4D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #931F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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