#7934A4#7934A4

#7934A4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.176 H 309.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7934A4
RGBrgb(121, 52, 164)
HSLhsl(277, 52%, 42%)
HSVhsv(277, 68%, 64%)
CMYKcmyk(26.2%, 68.3%, 0%, 35.7%)
CIE-LABlab(36.37, 49.26, -48.08)
CIE-LCHlch(36.37, 68.84, 315.70°)
OKLaboklab(47.31% 0.1121 -0.1359)
OKLCHoklch(47.31% 0.176 309.5)
XYZxyz(15.8127, 9.2016, 36.0578)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934A4 #5FA434
analogous
#4134A4 #7934A4 #A43497
triadic
#7934A4 #A47934 #34A479
tetradic
#7934A4 #A44134 #5FA434 #3497A4
square
#7934A4 #A44134 #5FA434 #3497A4
split-complementary
#7934A4 #97A434 #34A441
monochromatic
#341747 #572576 #7934A4 #994EC7 #B47DD6

Accessibility & contrast

On white

7.39
#7934A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7934A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934A4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934A4#FFFFFF#000000##FFFFFF
##7934A41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#2157A2
Tritanopia (blue-blind)
#734C68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7934a4;
/* rgb */ color: rgb(121, 52, 164);
/* oklch */ color: oklch(47.3% 0.176 309.5);
Tailwind
colors: {
  custom: {
    50: '#a371c0',
    500: '#7934a4',
    950: '#000000',
  },
}
SCSS
$custom: #7934a4;
$custom-light: #a371c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7934a4",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 276.964,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47306,
    "c": 0.17623,
    "h": 309.5
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#7934A4
secondary
#91BF75
accent
#DB4C83
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7934A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7934A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva