#7931BC#7931BC

#7931BC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.205 H 303.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7931BC
RGBrgb(121, 49, 188)
HSLhsl(271, 59%, 46%)
HSVhsv(271, 74%, 74%)
CMYKcmyk(35.6%, 73.9%, 0%, 26.3%)
CIE-LABlab(37.65, 56.20, -60.27)
CIE-LCHlch(37.65, 82.41, 313.00°)
OKLaboklab(48.77% 0.1115 -0.1718)
OKLCHoklch(48.77% 0.205 303)
XYZxyz(18.0584, 9.8924, 48.5253)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931BC #74BC31
analogous
#3331BC #7931BC #BC31BA
triadic
#7931BC #BC7931 #31BC79
tetradic
#7931BC #BC3331 #74BC31 #31BABC
square
#7931BC #BC3331 #74BC31 #31BABC
split-complementary
#7931BC #BABC31 #31BC33
monochromatic
#3B185B #5A248B #7931BC #9757D3 #B588E0

Accessibility & contrast

On white

7.05
#7931BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7931BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931BC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931BC#FFFFFF#000000##FFFFFF
##7931BC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6B5474
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7931bc;
/* rgb */ color: rgb(121, 49, 188);
/* oklch */ color: oklch(48.8% 0.205 303.0);
Tailwind
colors: {
  custom: {
    50: '#a570d1',
    500: '#7931bc',
    950: '#000000',
  },
}
SCSS
$custom: #7931bc;
$custom-light: #a570d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7931bc",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 271.079,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.20478,
    "h": 303
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#7931BC
secondary
#A3CA7F
accent
#E24691
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7931BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7931BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva