#7931B9#7931B9

#7931B9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.202 H 303.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7931B9
RGBrgb(121, 49, 185)
HSLhsl(272, 58%, 46%)
HSVhsv(272, 74%, 73%)
CMYKcmyk(34.6%, 73.5%, 0%, 27.5%)
CIE-LABlab(37.42, 55.49, -58.88)
CIE-LCHlch(37.42, 80.91, 313.30°)
OKLaboklab(48.53% 0.1121 -0.1677)
OKLCHoklch(48.53% 0.202 303.8)
XYZxyz(17.7384, 9.7644, 46.8397)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931B9 #71B931
analogous
#3531B9 #7931B9 #B931B5
triadic
#7931B9 #B97931 #31B979
tetradic
#7931B9 #B93531 #71B931 #31B5B9
square
#7931B9 #B93531 #71B931 #31B5B9
split-complementary
#7931B9 #B5B931 #31B935
monochromatic
#3A1758 #592489 #7931B9 #9755D2 #B586DF

Accessibility & contrast

On white

7.11
#7931B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7931B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931B9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931B9#FFFFFF#000000##FFFFFF
##7931B91.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#6C5272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7931b9;
/* rgb */ color: rgb(121, 49, 185);
/* oklch */ color: oklch(48.5% 0.202 303.8);
Tailwind
colors: {
  custom: {
    50: '#a570cf',
    500: '#7931b9',
    950: '#000000',
  },
}
SCSS
$custom: #7931b9;
$custom-light: #a570cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7931b9",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 271.765,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.20171,
    "h": 303.8
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#7931B9
secondary
#A1C87D
accent
#E1468F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7931B9

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

Preview Lab → · Contrast checker → · Palette generator →

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