#931DBB#931DBB

#931DBB is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.229 H 315.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#931DBB
RGBrgb(147, 29, 187)
HSLhsl(285, 73%, 42%)
HSVhsv(285, 84%, 73%)
CMYKcmyk(21.4%, 84.5%, 0%, 26.7%)
CIE-LABlab(39.02, 67.21, -57.28)
CIE-LCHlch(39.02, 88.31, 319.56°)
OKLaboklab(50.49% 0.1622 -0.162)
OKLCHoklch(50.49% 0.229 315)
XYZxyz(21.4401, 10.6705, 47.9343)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931DBB #45BB1D
analogous
#441DBB #931DBB #BB1D94
triadic
#931DBB #BB931D #1DBB93
tetradic
#931DBB #BB441D #45BB1D #1D94BB
square
#931DBB #BB441D #45BB1D #1D94BB
split-complementary
#931DBB #94BB1D #1DBB44
monochromatic
#400D51 #691586 #931DBB #B535E0 #C86AE8

Accessibility & contrast

On white

6.70
#931DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#931DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931DBB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931DBB#FFFFFF#000000##FFFFFF
##931DBB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#8F4670
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #931dbb;
/* rgb */ color: rgb(147, 29, 187);
/* oklch */ color: oklch(50.5% 0.229 315.0);
Tailwind
colors: {
  custom: {
    50: '#b86bd0',
    500: '#931dbb',
    950: '#000000',
  },
}
SCSS
$custom: #931dbb;
$custom-light: #b86bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#931dbb",
  "rgb": {
    "r": 147,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 284.81,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.22921,
    "h": 315
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#931DBB
secondary
#80CE66
accent
#F03867
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #931DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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