#931C8E#931C8E

#931C8E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 330.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#931C8E
RGBrgb(147, 28, 142)
HSLhsl(303, 68%, 34%)
HSVhsv(303, 81%, 58%)
CMYKcmyk(0%, 81%, 3.4%, 42.4%)
CIE-LABlab(35.96, 59.56, -35.14)
CIE-LCHlch(35.96, 69.15, 329.46°)
OKLaboklab(47.39% 0.1687 -0.0972)
OKLCHoklch(47.39% 0.195 330.1)
XYZxyz(17.3303, 8.9879, 26.4080)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931C8E #1C9321
analogous
#5D1C93 #931C8E #931C53
triadic
#931C8E #8E931C #1C8E93
tetradic
#931C8E #935D1C #1C9321 #1C5393
square
#931C8E #935D1C #1C9321 #1C5393
split-complementary
#931C8E #53931C #1C935D
monochromatic
#2C082B #60125C #931C8E #C626C0 #DD4CD7

Accessibility & contrast

On white

7.51
#931C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#931C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931C8E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931C8E#FFFFFF#000000##FFFFFF
##931C8E1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A91
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#992E55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #931c8e;
/* rgb */ color: rgb(147, 28, 142);
/* oklch */ color: oklch(47.4% 0.195 330.1);
Tailwind
colors: {
  custom: {
    50: '#b768af',
    500: '#931c8e',
    950: '#000000',
  },
}
SCSS
$custom: #931c8e;
$custom-light: #b768af;
$custom-dark: #000000;
JSON
{
  "hex": "#931c8e",
  "rgb": {
    "r": 147,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 302.521,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.19468,
    "h": 330.1
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#931C8E
secondary
#4CBF50
accent
#EB443D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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