#7931BB#7931BB

#7931BB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.204 H 303.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7931BB
RGBrgb(121, 49, 187)
HSLhsl(271, 58%, 46%)
HSVhsv(271, 74%, 73%)
CMYKcmyk(35.3%, 73.8%, 0%, 26.7%)
CIE-LABlab(37.57, 55.96, -59.81)
CIE-LCHlch(37.57, 81.91, 313.10°)
OKLaboklab(48.69% 0.1117 -0.1704)
OKLCHoklch(48.69% 0.204 303.2)
XYZxyz(17.9510, 9.8494, 47.9595)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931BB #73BB31
analogous
#3431BB #7931BB #BB31B8
triadic
#7931BB #BB7931 #31BB79
tetradic
#7931BB #BB3431 #73BB31 #31B8BB
square
#7931BB #BB3431 #73BB31 #31B8BB
split-complementary
#7931BB #B8BB31 #31BB34
monochromatic
#3A185A #5A248B #7931BB #9756D3 #B587E0

Accessibility & contrast

On white

7.07
#7931BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7931BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931BB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931BB#FFFFFF#000000##FFFFFF
##7931BB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#6C5374
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7931bb;
/* rgb */ color: rgb(121, 49, 187);
/* oklch */ color: oklch(48.7% 0.204 303.2);
Tailwind
colors: {
  custom: {
    50: '#a570d0',
    500: '#7931bb',
    950: '#000000',
  },
}
SCSS
$custom: #7931bb;
$custom-light: #a570d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7931bb",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 271.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.20375,
    "h": 303.2
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#7931BB
secondary
#A2C97F
accent
#E24691
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7931BB

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

Preview Lab → · Contrast checker → · Palette generator →

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