#7946A5#7946A5

#7946A5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.151 H 306.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7946A5
RGBrgb(121, 70, 165)
HSLhsl(272, 40%, 46%)
HSVhsv(272, 58%, 65%)
CMYKcmyk(26.7%, 57.6%, 0%, 35.3%)
CIE-LABlab(39.85, 40.23, -43.09)
CIE-LCHlch(39.85, 58.95, 313.03°)
OKLaboklab(49.85% 0.0898 -0.1214)
OKLCHoklch(49.85% 0.151 306.5)
XYZxyz(16.8654, 11.1620, 36.8560)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946A5 #72A546
analogous
#4946A5 #7946A5 #A546A1
triadic
#7946A5 #A57946 #46A579
tetradic
#7946A5 #A54946 #72A546 #46A1A5
square
#7946A5 #A54946 #72A546 #46A1A5
split-complementary
#7946A5 #A1A546 #46A549
monochromatic
#3A224F #59347A #7946A5 #9769BF #B594D2

Accessibility & contrast

On white

6.50
#7946A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7946A5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946A5#FFFFFF#000000##FFFFFF
##7946A51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#365EA3
Tritanopia (blue-blind)
#72586F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7946a5;
/* rgb */ color: rgb(121, 70, 165);
/* oklch */ color: oklch(49.9% 0.151 306.5);
Tailwind
colors: {
  custom: {
    50: '#a37cc0',
    500: '#7946a5',
    950: '#000000',
  },
}
SCSS
$custom: #7946a5;
$custom-light: #a37cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7946a5",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 272.211,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.15097,
    "h": 306.5
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7946A5

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

Preview Lab → · Contrast checker → · Palette generator →

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