#931EC2#931EC2

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

Color values

HEX#931EC2
RGBrgb(147, 30, 194)
HSLhsl(283, 73%, 44%)
HSVhsv(283, 85%, 76%)
CMYKcmyk(24.2%, 84.5%, 0%, 23.9%)
CIE-LABlab(39.63, 68.30, -60.41)
CIE-LCHlch(39.63, 91.19, 318.51°)
OKLaboklab(51.07% 0.1599 -0.1711)
OKLCHoklch(51.07% 0.234 313.1)
XYZxyz(22.2327, 11.0273, 51.9858)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931EC2 #4DC21E
analogous
#411EC2 #931EC2 #C21E9F
triadic
#931EC2 #C2931E #1EC293
tetradic
#931EC2 #C2411E #4DC21E #1E9FC2
square
#931EC2 #C2411E #4DC21E #1E9FC2
split-complementary
#931EC2 #9FC21E #1EC241
monochromatic
#430E58 #6B168D #931EC2 #B23CE1 #C771E9

Accessibility & contrast

On white

6.55
#931EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#931EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931EC2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931EC2#FFFFFF#000000##FFFFFF
##931EC21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931ec2;
/* rgb */ color: rgb(147, 30, 194);
/* oklch */ color: oklch(51.1% 0.234 313.1);
Tailwind
colors: {
  custom: {
    50: '#b86cd5',
    500: '#931ec2',
    950: '#000000',
  },
}
SCSS
$custom: #931ec2;
$custom-light: #b86cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#931ec2",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 194
  },
  "hsl": {
    "h": 282.805,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.23424,
    "h": 313.1
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#931EC2
secondary
#89D06C
accent
#F0386D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #931EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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