#931A8E#931A8E

#931A8E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.196 H 330.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#931A8E
RGBrgb(147, 26, 142)
HSLhsl(302, 70%, 34%)
HSVhsv(302, 82%, 58%)
CMYKcmyk(0%, 82.3%, 3.4%, 42.4%)
CIE-LABlab(35.78, 60.07, -35.42)
CIE-LCHlch(35.78, 69.73, 329.48°)
OKLaboklab(47.26% 0.1702 -0.098)
OKLCHoklch(47.26% 0.196 330.1)
XYZxyz(17.2844, 8.8962, 26.3927)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931A8E #1A931F
analogous
#5C1A93 #931A8E #931A52
triadic
#931A8E #8E931A #1A8E93
tetradic
#931A8E #935C1A #1A931F #1A5293
square
#931A8E #935C1A #1A931F #1A5293
split-complementary
#931A8E #52931A #1A935C
monochromatic
#2B082A #5F115C #931A8E #C723C0 #DF49D9

Accessibility & contrast

On white

7.56
#931A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#931A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931A8E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931A8E#FFFFFF#000000##FFFFFF
##931A8E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#992D55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #931a8e;
/* rgb */ color: rgb(147, 26, 142);
/* oklch */ color: oklch(47.3% 0.196 330.1);
Tailwind
colors: {
  custom: {
    50: '#b768af',
    500: '#931a8e',
    950: '#000000',
  },
}
SCSS
$custom: #931a8e;
$custom-light: #b768af;
$custom-dark: #000000;
JSON
{
  "hex": "#931a8e",
  "rgb": {
    "r": 147,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 302.479,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.19637,
    "h": 330.1
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#931A8E
secondary
#48C04D
accent
#ED423B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #931A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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