#931EBC#931EBC

#931EBC is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.6% C 0.229 H 314.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#931EBC
RGBrgb(147, 30, 188)
HSLhsl(284, 72%, 43%)
HSVhsv(284, 84%, 74%)
CMYKcmyk(21.8%, 84%, 0%, 26.3%)
CIE-LABlab(39.18, 67.15, -57.61)
CIE-LCHlch(39.18, 88.48, 319.37°)
OKLaboklab(50.62% 0.1613 -0.1629)
OKLCHoklch(50.62% 0.229 314.7)
XYZxyz(21.5725, 10.7632, 48.5084)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931EBC #47BC1E
analogous
#441EBC #931EBC #BC1E96
triadic
#931EBC #BC931E #1EBC93
tetradic
#931EBC #BC441E #47BC1E #1E96BC
square
#931EBC #BC441E #47BC1E #1E96BC
split-complementary
#931EBC #96BC1E #1EBC44
monochromatic
#400D52 #6A1687 #931EBC #B438DF #C86DE8

Accessibility & contrast

On white

6.66
#931EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#931EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #931EBC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931EBC#FFFFFF#000000##FFFFFF
##931EBC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0C5FB9
Tritanopia (blue-blind)
#8F4770
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #931ebc;
/* rgb */ color: rgb(147, 30, 188);
/* oklch */ color: oklch(50.6% 0.229 314.7);
Tailwind
colors: {
  custom: {
    50: '#b86bd1',
    500: '#931ebc',
    950: '#000000',
  },
}
SCSS
$custom: #931ebc;
$custom-light: #b86bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#931ebc",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 284.43,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.2293,
    "h": 314.7
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#931EBC
secondary
#82CE68
accent
#EF3968
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #931EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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