#931DC2#931DC2

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

Color values

HEX#931DC2
RGBrgb(147, 29, 194)
HSLhsl(283, 74%, 44%)
HSVhsv(283, 85%, 76%)
CMYKcmyk(24.2%, 85.1%, 0%, 23.9%)
CIE-LABlab(39.54, 68.55, -60.55)
CIE-LCHlch(39.54, 91.46, 318.55°)
OKLaboklab(51.01% 0.1605 -0.1715)
OKLCHoklch(51.01% 0.235 313.1)
XYZxyz(22.2078, 10.9775, 51.9775)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931DC2 #4CC21D
analogous
#401DC2 #931DC2 #C21D9E
triadic
#931DC2 #C2931D #1DC293
tetradic
#931DC2 #C2401D #4CC21D #1D9EC2
square
#931DC2 #C2401D #4CC21D #1D9EC2
split-complementary
#931DC2 #9EC21D #1DC240
monochromatic
#420D58 #6B158D #931DC2 #B23BE2 #C770EA

Accessibility & contrast

On white

6.57
#931DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#931DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931DC2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931DC2#FFFFFF#000000##FFFFFF
##931DC21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931dc2;
/* rgb */ color: rgb(147, 29, 194);
/* oklch */ color: oklch(51.0% 0.235 313.1);
Tailwind
colors: {
  custom: {
    50: '#b86bd5',
    500: '#931dc2',
    950: '#000000',
  },
}
SCSS
$custom: #931dc2;
$custom-light: #b86bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#931dc2",
  "rgb": {
    "r": 147,
    "g": 29,
    "b": 194
  },
  "hsl": {
    "h": 282.909,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.23494,
    "h": 313.1
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#931DC2
secondary
#88D06B
accent
#F1376C
background
#FBF6FD
surface
#F7ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #931DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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