#7934A2#7934A2

#7934A2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.174 H 310.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7934A2
RGBrgb(121, 52, 162)
HSLhsl(278, 51%, 42%)
HSVhsv(278, 68%, 64%)
CMYKcmyk(25.3%, 67.9%, 0%, 36.5%)
CIE-LABlab(36.23, 48.81, -47.10)
CIE-LCHlch(36.23, 67.83, 316.02°)
OKLaboklab(47.17% 0.1123 -0.1331)
OKLCHoklch(47.17% 0.174 310.2)
XYZxyz(15.6335, 9.1299, 35.1141)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7934A2 #5DA234
analogous
#4234A2 #7934A2 #A23494
triadic
#7934A2 #A27934 #34A279
tetradic
#7934A2 #A24234 #5DA234 #3494A2
square
#7934A2 #A24234 #5DA234 #3494A2
split-complementary
#7934A2 #94A234 #34A242
monochromatic
#341645 #562574 #7934A2 #994DC6 #B47CD5

Accessibility & contrast

On white

7.43
#7934A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7934A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7934A2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7934A2#FFFFFF#000000##FFFFFF
##7934A21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2456A0
Tritanopia (blue-blind)
#734B67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7934a2;
/* rgb */ color: rgb(121, 52, 162);
/* oklch */ color: oklch(47.2% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#a371be',
    500: '#7934a2',
    950: '#000000',
  },
}
SCSS
$custom: #7934a2;
$custom-light: #a371be;
$custom-dark: #000000;
JSON
{
  "hex": "#7934a2",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 277.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.17413,
    "h": 310.2
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#7934A2
secondary
#90BE74
accent
#DB4D82
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7934A2

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

Preview Lab → · Contrast checker → · Palette generator →

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