#931E8A#931E8A

#931E8A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.190 H 331.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#931E8A
RGBrgb(147, 30, 138)
HSLhsl(305, 66%, 35%)
HSVhsv(305, 80%, 58%)
CMYKcmyk(0%, 79.6%, 6.1%, 42.4%)
CIE-LABlab(35.92, 58.37, -32.74)
CIE-LCHlch(35.92, 66.93, 330.72°)
OKLaboklab(47.29% 0.1671 -0.0902)
OKLCHoklch(47.29% 0.19 331.6)
XYZxyz(17.0844, 8.9680, 24.8710)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931E8A #1E9327
analogous
#611E93 #931E8A #931E50
triadic
#931E8A #8A931E #1E8A93
tetradic
#931E8A #93611E #1E9327 #1E5093
square
#931E8A #93611E #1E9327 #1E5093
split-complementary
#931E8A #50931E #1E9361
monochromatic
#2D092B #60145A #931E8A #C628BA #DB50D1

Accessibility & contrast

On white

7.52
#931E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#931E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931E8A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931E8A#FFFFFF#000000##FFFFFF
##931E8A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#992D54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931e8a;
/* rgb */ color: rgb(147, 30, 138);
/* oklch */ color: oklch(47.3% 0.190 331.6);
Tailwind
colors: {
  custom: {
    50: '#b669ac',
    500: '#931e8a',
    950: '#000000',
  },
}
SCSS
$custom: #931e8a;
$custom-light: #b669ac;
$custom-dark: #000000;
JSON
{
  "hex": "#931e8a",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 304.615,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.18992,
    "h": 331.6
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#931E8A
secondary
#4FBE57
accent
#E94C3F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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