#7934B9#7934B9

#7934B9 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.198 H 303.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7934B9
RGBrgb(121, 52, 185)
HSLhsl(271, 56%, 46%)
HSVhsv(271, 72%, 73%)
CMYKcmyk(34.6%, 71.9%, 0%, 27.5%)
CIE-LABlab(37.88, 54.17, -58.12)
CIE-LCHlch(37.88, 79.45, 312.98°)
OKLaboklab(48.87% 0.1092 -0.1655)
OKLCHoklch(48.87% 0.198 303.4)
XYZxyz(17.8681, 10.0237, 46.8830)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934B9 #74B934
analogous
#3734B9 #7934B9 #B934B7
triadic
#7934B9 #B97934 #34B979
tetradic
#7934B9 #B93734 #74B934 #34B7B9
square
#7934B9 #B93734 #74B934 #34B7B9
split-complementary
#7934B9 #B7B934 #34B937
monochromatic
#3B1959 #5A2789 #7934B9 #975AD1 #B589DE

Accessibility & contrast

On white

6.99
#7934B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7934B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7934B9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934B9#FFFFFF#000000##FFFFFF
##7934B91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6C5473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7934b9;
/* rgb */ color: rgb(121, 52, 185);
/* oklch */ color: oklch(48.9% 0.198 303.4);
Tailwind
colors: {
  custom: {
    50: '#a572cf',
    500: '#7934b9',
    950: '#000000',
  },
}
SCSS
$custom: #7934b9;
$custom-light: #a572cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7934b9",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 271.128,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.19825,
    "h": 303.4
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#7934B9
secondary
#A3C881
accent
#DF4891
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7934B9

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

Preview Lab → · Contrast checker → · Palette generator →

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