#931F96#931F96

#931F96 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 327.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#931F96
RGBrgb(147, 31, 150)
HSLhsl(298, 66%, 35%)
HSVhsv(298, 79%, 59%)
CMYKcmyk(2%, 79.3%, 0%, 41.2%)
CIE-LABlab(36.72, 60.05, -38.83)
CIE-LCHlch(36.72, 71.51, 327.11°)
OKLaboklab(48.08% 0.1661 -0.1079)
OKLCHoklch(48.08% 0.198 327)
XYZxyz(18.0273, 9.3863, 29.7105)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F96 #22961F
analogous
#571F96 #931F96 #961F5E
triadic
#931F96 #96931F #1F9693
tetradic
#931F96 #96571F #22961F #1F5E96
square
#931F96 #96571F #22961F #1F5E96
split-complementary
#931F96 #5E961F #1F9657
monochromatic
#300A31 #611563 #931F96 #C529C9 #D854DC

Accessibility & contrast

On white

7.30
#931F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#931F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F96
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F96#FFFFFF#000000##FFFFFF
##931F961.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#3F5B93
Tritanopia (blue-blind)
#97345B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #931f96;
/* rgb */ color: rgb(147, 31, 150);
/* oklch */ color: oklch(48.1% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#b66ab5',
    500: '#931f96',
    950: '#000000',
  },
}
SCSS
$custom: #931f96;
$custom-light: #b66ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#931f96",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 298.487,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48077,
    "c": 0.19808,
    "h": 327
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#931F96
secondary
#55BF52
accent
#E93F43
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #931F96

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

Preview Lab → · Contrast checker → · Palette generator →

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