#7946AF#7946AF

#7946AF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.163 H 303.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7946AF
RGBrgb(121, 70, 175)
HSLhsl(269, 43%, 48%)
HSVhsv(269, 60%, 69%)
CMYKcmyk(30.9%, 60%, 0%, 31.4%)
CIE-LABlab(40.48, 42.69, -48.03)
CIE-LCHlch(40.48, 64.26, 311.63°)
OKLaboklab(50.51% 0.0898 -0.1359)
OKLCHoklch(50.51% 0.163 303.5)
XYZxyz(17.8114, 11.5404, 41.8383)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946AF #7CAF46
analogous
#4647AF #7946AF #AD46AF
triadic
#7946AF #AF7946 #46AF79
tetradic
#7946AF #AF4647 #7CAF46 #46AFAD
square
#7946AF #AF4647 #7CAF46 #46AFAD
split-complementary
#7946AF #AFAD46 #47AF46
monochromatic
#3D2358 #5B3583 #7946AF #986DC5 #B799D6

Accessibility & contrast

On white

6.35
#7946AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7946AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946AF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946AF#FFFFFF#000000##FFFFFF
##7946AF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#6F5B74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7946af;
/* rgb */ color: rgb(121, 70, 175);
/* oklch */ color: oklch(50.5% 0.163 303.5);
Tailwind
colors: {
  custom: {
    50: '#a37cc7',
    500: '#7946af',
    950: '#000000',
  },
}
SCSS
$custom: #7946af;
$custom-light: #a37cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7946af",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 269.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.16288,
    "h": 303.5
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#7946AF
secondary
#A9C28E
accent
#D35596
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7946AF

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

Preview Lab → · Contrast checker → · Palette generator →

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