#931F94#931F94

#931F94 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.197 H 327.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#931F94
RGBrgb(147, 31, 148)
HSLhsl(299, 65%, 35%)
HSVhsv(299, 79%, 58%)
CMYKcmyk(0.7%, 79.1%, 0%, 42%)
CIE-LABlab(36.60, 59.71, -37.80)
CIE-LCHlch(36.60, 70.67, 327.66°)
OKLaboklab(47.95% 0.1662 -0.1049)
OKLCHoklch(47.95% 0.197 327.7)
XYZxyz(17.8677, 9.3225, 28.8696)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F94 #20941F
analogous
#581F94 #931F94 #941F5B
triadic
#931F94 #94931F #1F9493
tetradic
#931F94 #94581F #20941F #1F5B94
square
#931F94 #94581F #20941F #1F5B94
split-complementary
#931F94 #5B941F #1F9458
monochromatic
#2E0A2F #611461 #931F94 #C52AC7 #DA53DB

Accessibility & contrast

On white

7.33
#931F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#931F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F94
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F94#FFFFFF#000000##FFFFFF
##931F941.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#983359
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #931f94;
/* rgb */ color: rgb(147, 31, 148);
/* oklch */ color: oklch(48.0% 0.197 327.7);
Tailwind
colors: {
  custom: {
    50: '#b66ab4',
    500: '#931f94',
    950: '#000000',
  },
}
SCSS
$custom: #931f94;
$custom-light: #b66ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#931f94",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 299.487,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.19654,
    "h": 327.7
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#931F94
secondary
#52BE51
accent
#E83F41
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #931F94

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

Preview Lab → · Contrast checker → · Palette generator →

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