#7931BD#7931BD

#7931BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.206 H 302.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7931BD
RGBrgb(121, 49, 189)
HSLhsl(271, 59%, 47%)
HSVhsv(271, 74%, 74%)
CMYKcmyk(36%, 74.1%, 0%, 25.9%)
CIE-LABlab(37.73, 56.43, -60.73)
CIE-LCHlch(37.73, 82.90, 312.90°)
OKLaboklab(48.85% 0.1113 -0.1731)
OKLCHoklch(48.85% 0.206 302.7)
XYZxyz(18.1666, 9.9357, 49.0949)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931BD #75BD31
analogous
#3331BD #7931BD #BD31BB
triadic
#7931BD #BD7931 #31BD79
tetradic
#7931BD #BD3331 #75BD31 #31BBBD
square
#7931BD #BD3331 #75BD31 #31BBBD
split-complementary
#7931BD #BBBD31 #31BD33
monochromatic
#3B185C #5A248C #7931BD #9758D4 #B588E0

Accessibility & contrast

On white

7.03
#7931BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7931BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931BD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931BD#FFFFFF#000000##FFFFFF
##7931BD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#6B5475
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7931bd;
/* rgb */ color: rgb(121, 49, 189);
/* oklch */ color: oklch(48.9% 0.206 302.7);
Tailwind
colors: {
  custom: {
    50: '#a670d2',
    500: '#7931bd',
    950: '#000000',
  },
}
SCSS
$custom: #7931bd;
$custom-light: #a670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7931bd",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 270.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.20581,
    "h": 302.7
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#7931BD
secondary
#A4CA80
accent
#E24692
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7931BD

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

Preview Lab → · Contrast checker → · Palette generator →

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