#931FC2#931FC2

#931FC2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.1% C 0.234 H 313.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#931FC2
RGBrgb(147, 31, 194)
HSLhsl(283, 72%, 44%)
HSVhsv(283, 84%, 76%)
CMYKcmyk(24.2%, 84%, 0%, 23.9%)
CIE-LABlab(39.71, 68.05, -60.27)
CIE-LCHlch(39.71, 90.90, 318.47°)
OKLaboklab(51.13% 0.1593 -0.1708)
OKLCHoklch(51.13% 0.234 313)
XYZxyz(22.2585, 11.0788, 51.9944)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931FC2 #4EC21F
analogous
#411FC2 #931FC2 #C21FA0
triadic
#931FC2 #C2931F #1FC293
tetradic
#931FC2 #C2411F #4EC21F #1FA0C2
square
#931FC2 #C2411F #4EC21F #1FA0C2
split-complementary
#931FC2 #A0C21F #1FC241
monochromatic
#430E58 #6B178D #931FC2 #B13EE0 #C773E9

Accessibility & contrast

On white

6.53
#931FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#931FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931FC2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931FC2#FFFFFF#000000##FFFFFF
##931FC21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#8E4B74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #931fc2;
/* rgb */ color: rgb(147, 31, 194);
/* oklch */ color: oklch(51.1% 0.234 313.0);
Tailwind
colors: {
  custom: {
    50: '#b86cd5',
    500: '#931fc2',
    950: '#000000',
  },
}
SCSS
$custom: #931fc2;
$custom-light: #b86cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#931fc2",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 282.699,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.23353,
    "h": 313
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#931FC2
secondary
#8ACF6D
accent
#EF396D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #931FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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