#7934BA#7934BA

#7934BA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.199 H 303.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7934BA
RGBrgb(121, 52, 186)
HSLhsl(271, 56%, 47%)
HSVhsv(271, 72%, 73%)
CMYKcmyk(34.9%, 72%, 0%, 27.1%)
CIE-LABlab(37.96, 54.40, -58.59)
CIE-LCHlch(37.96, 79.95, 312.88°)
OKLaboklab(48.94% 0.109 -0.1668)
OKLCHoklch(48.94% 0.199 303.2)
XYZxyz(17.9740, 10.0661, 47.4409)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934BA #75BA34
analogous
#3634BA #7934BA #BA34B8
triadic
#7934BA #BA7934 #34BA79
tetradic
#7934BA #BA3634 #75BA34 #34B8BA
square
#7934BA #BA3634 #75BA34 #34B8BA
split-complementary
#7934BA #B8BA34 #34BA36
monochromatic
#3B195A #5A278A #7934BA #975AD1 #B58ADE

Accessibility & contrast

On white

6.97
#7934BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7934BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934BA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934BA#FFFFFF#000000##FFFFFF
##7934BA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6C5474
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7934ba;
/* rgb */ color: rgb(121, 52, 186);
/* oklch */ color: oklch(48.9% 0.199 303.2);
Tailwind
colors: {
  custom: {
    50: '#a572d0',
    500: '#7934ba',
    950: '#000000',
  },
}
SCSS
$custom: #7934ba;
$custom-light: #a572d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7934ba",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 270.896,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.19929,
    "h": 303.2
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#7934BA
secondary
#A4C881
accent
#E04892
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7934BA

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

Preview Lab → · Contrast checker → · Palette generator →

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