#931C8D#931C8D

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

Color values

HEX#931C8D
RGBrgb(147, 28, 141)
HSLhsl(303, 68%, 34%)
HSVhsv(303, 81%, 58%)
CMYKcmyk(0%, 81%, 4.1%, 42.4%)
CIE-LABlab(35.90, 59.40, -34.61)
CIE-LCHlch(35.90, 68.75, 329.77°)
OKLaboklab(47.33% 0.1687 -0.0956)
OKLCHoklch(47.33% 0.194 330.5)
XYZxyz(17.2555, 8.9580, 26.0144)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C8D #1C9322
analogous
#5E1C93 #931C8D #931C52
triadic
#931C8D #8D931C #1C8D93
tetradic
#931C8D #935E1C #1C9322 #1C5293
square
#931C8D #935E1C #1C9322 #1C5293
split-complementary
#931C8D #52931C #1C935E
monochromatic
#2C082A #60125C #931C8D #C626BE #DD4CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##931C8D#FFFFFF#000000##FFFFFF
##931C8D1.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)
#074A90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#992E55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931c8d;
/* rgb */ color: rgb(147, 28, 141);
/* oklch */ color: oklch(47.3% 0.194 330.5);
Tailwind
colors: {
  custom: {
    50: '#b668af',
    500: '#931c8d',
    950: '#000000',
  },
}
SCSS
$custom: #931c8d;
$custom-light: #b668af;
$custom-dark: #000000;
JSON
{
  "hex": "#931c8d",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 303.025,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.19394,
    "h": 330.5
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#931C8D
secondary
#4CBF51
accent
#EB463D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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