#7946D6#7946D6

#7946D6 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.208 H 294.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7946D6
RGBrgb(121, 70, 214)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.5%, 67.3%, 0%, 16.1%)
CIE-LABlab(43.21, 52.75, -66.32)
CIE-LCHlch(43.21, 84.73, 308.50°)
OKLaboklab(53.35% 0.0865 -0.1896)
OKLCHoklch(53.35% 0.208 294.5)
XYZxyz(22.2096, 13.2997, 65.0022)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946D6 #A3D646
analogous
#465BD6 #7946D6 #C146D6
triadic
#7946D6 #D67946 #46D679
tetradic
#7946D6 #D6465B #A3D646 #46D6C1
square
#7946D6 #D6465B #A3D646 #46D6C1
split-complementary
#7946D6 #D6C146 #5BD646
monochromatic
#421D84 #5B28B6 #7946D6 #9D78E1 #C2AAEC

Accessibility & contrast

On white

5.74
#7946D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7946D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946D6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946D6#FFFFFF#000000##FFFFFF
##7946D61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#5F6988
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7946d6;
/* rgb */ color: rgb(121, 70, 214);
/* oklch */ color: oklch(53.4% 0.208 294.5);
Tailwind
colors: {
  custom: {
    50: '#a77de4',
    500: '#7946d6',
    950: '#000000',
  },
}
SCSS
$custom: #7946d6;
$custom-light: #a77de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7946d6",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 261.25,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.20842,
    "h": 294.5
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#7946D6
secondary
#C5DA9E
accent
#E741AC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7946D6

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

Preview Lab → · Contrast checker → · Palette generator →

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