#7946A2#7946A2

#7946A2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.7% C 0.147 H 307.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7946A2
RGBrgb(121, 70, 162)
HSLhsl(273, 40%, 45%)
HSVhsv(273, 57%, 64%)
CMYKcmyk(25.3%, 56.8%, 0%, 36.5%)
CIE-LABlab(39.67, 39.50, -41.58)
CIE-LCHlch(39.67, 57.35, 313.53°)
OKLaboklab(49.66% 0.0897 -0.117)
OKLCHoklch(49.66% 0.147 307.5)
XYZxyz(16.5956, 11.0541, 35.4348)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946A2 #6FA246
analogous
#4B46A2 #7946A2 #A2469D
triadic
#7946A2 #A27946 #46A279
tetradic
#7946A2 #A24B46 #6FA246 #469DA2
square
#7946A2 #A24B46 #6FA246 #469DA2
split-complementary
#7946A2 #9DA246 #46A24B
monochromatic
#39214D #593477 #7946A2 #9768BE #B592D0

Accessibility & contrast

On white

6.54
#7946A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7946A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946A2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946A2#FFFFFF#000000##FFFFFF
##7946A21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#73576D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7946a2;
/* rgb */ color: rgb(121, 70, 162);
/* oklch */ color: oklch(49.7% 0.147 307.5);
Tailwind
colors: {
  custom: {
    50: '#a27cbe',
    500: '#7946a2',
    950: '#000000',
  },
}
SCSS
$custom: #7946a2;
$custom-light: #a27cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7946a2",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 273.261,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49662,
    "c": 0.1474,
    "h": 307.5
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#7946A2
secondary
#9FBC88
accent
#D0588D
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7946A2

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

Preview Lab → · Contrast checker → · Palette generator →

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