#931F8E#931F8E

#931F8E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.192 H 330.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#931F8E
RGBrgb(147, 31, 142)
HSLhsl(303, 65%, 35%)
HSVhsv(303, 79%, 58%)
CMYKcmyk(0%, 78.9%, 3.4%, 42.4%)
CIE-LABlab(36.25, 58.73, -34.68)
CIE-LCHlch(36.25, 68.20, 329.44°)
OKLaboklab(47.59% 0.1663 -0.0959)
OKLCHoklch(47.59% 0.192 330)
XYZxyz(17.4050, 9.1374, 26.4329)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F8E #1F9324
analogous
#5E1F93 #931F8E #931F54
triadic
#931F8E #8E931F #1F8E93
tetradic
#931F8E #935E1F #1F9324 #1F5493
square
#931F8E #935E1F #1F9324 #1F5493
split-complementary
#931F8E #54931F #1F935E
monochromatic
#2E0A2C #60145D #931F8E #C62ABF #DA52D5

Accessibility & contrast

On white

7.43
#931F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#931F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F8E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F8E#FFFFFF#000000##FFFFFF
##931F8E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#993056
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931f8e;
/* rgb */ color: rgb(147, 31, 142);
/* oklch */ color: oklch(47.6% 0.192 330.0);
Tailwind
colors: {
  custom: {
    50: '#b669af',
    500: '#931f8e',
    950: '#000000',
  },
}
SCSS
$custom: #931f8e;
$custom-light: #b669af;
$custom-dark: #000000;
JSON
{
  "hex": "#931f8e",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 302.586,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.19198,
    "h": 330
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#931F8E
secondary
#50BE55
accent
#E84740
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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