#7931C4#7931C4

#7931C4 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.213 H 301.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7931C4
RGBrgb(121, 49, 196)
HSLhsl(269, 60%, 48%)
HSVhsv(269, 75%, 77%)
CMYKcmyk(38.3%, 75%, 0%, 23.1%)
CIE-LABlab(38.28, 58.10, -63.93)
CIE-LCHlch(38.28, 86.38, 312.26°)
OKLaboklab(49.41% 0.1097 -0.1825)
OKLCHoklch(49.41% 0.213 301)
XYZxyz(18.9448, 10.2470, 53.1936)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931C4 #7CC431
analogous
#3132C4 #7931C4 #C231C4
triadic
#7931C4 #C47931 #31C479
tetradic
#7931C4 #C43132 #7CC431 #31C4C2
square
#7931C4 #C43132 #7CC431 #31C4C2
split-complementary
#7931C4 #C4C231 #32C431
monochromatic
#3D1962 #5B2593 #7931C4 #985CD6 #B78DE2

Accessibility & contrast

On white

6.89
#7931C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7931C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7931C4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931C4#FFFFFF#000000##FFFFFF
##7931C41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#685779
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7931c4;
/* rgb */ color: rgb(121, 49, 196);
/* oklch */ color: oklch(49.4% 0.213 301.0);
Tailwind
colors: {
  custom: {
    50: '#a670d7',
    500: '#7931c4',
    950: '#000000',
  },
}
SCSS
$custom: #7931c4;
$custom-light: #a670d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7931c4",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 269.388,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.21296,
    "h": 301
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#7931C4
secondary
#A9CD84
accent
#E34596
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7931C4

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

Preview Lab → · Contrast checker → · Palette generator →

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