#7946A4#7946A4

#7946A4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.150 H 306.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7946A4
RGBrgb(121, 70, 164)
HSLhsl(273, 40%, 46%)
HSVhsv(273, 57%, 64%)
CMYKcmyk(26.2%, 57.3%, 0%, 35.7%)
CIE-LABlab(39.79, 39.98, -42.59)
CIE-LCHlch(39.79, 58.41, 313.19°)
OKLaboklab(49.79% 0.0897 -0.1199)
OKLCHoklch(49.79% 0.15 306.8)
XYZxyz(16.7748, 11.1258, 36.3785)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946A4 #71A446
analogous
#4A46A4 #7946A4 #A446A0
triadic
#7946A4 #A47946 #46A479
tetradic
#7946A4 #A44A46 #71A446 #46A0A4
square
#7946A4 #A44A46 #71A446 #46A0A4
split-complementary
#7946A4 #A0A446 #46A44A
monochromatic
#3A214E #593479 #7946A4 #9768BF #B593D1

Accessibility & contrast

On white

6.51
#7946A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7946A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946A4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946A4#FFFFFF#000000##FFFFFF
##7946A41.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#72586E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7946a4;
/* rgb */ color: rgb(121, 70, 164);
/* oklch */ color: oklch(49.8% 0.150 306.8);
Tailwind
colors: {
  custom: {
    50: '#a27cbf',
    500: '#7946a4',
    950: '#000000',
  },
}
SCSS
$custom: #7946a4;
$custom-light: #a27cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7946a4",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 272.553,
    "s": 40.171,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.14979,
    "h": 306.8
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#7946A4
secondary
#A1BD89
accent
#D0588F
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7946A4

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

Preview Lab → · Contrast checker → · Palette generator →

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