#7A46C7#7A46C7

#7A46C7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.191 H 298.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7A46C7
RGBrgb(122, 70, 199)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 65%, 78%)
CMYKcmyk(38.7%, 64.8%, 0%, 22%)
CIE-LABlab(42.22, 49.03, -59.27)
CIE-LCHlch(42.22, 76.92, 309.59°)
OKLaboklab(52.32% 0.0897 -0.1689)
OKLCHoklch(52.32% 0.191 298)
XYZxyz(20.5224, 12.6411, 55.3805)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46C7 #93C746
analogous
#4652C7 #7A46C7 #BA46C7
triadic
#7A46C7 #C77A46 #46C77A
tetradic
#7A46C7 #C74652 #93C746 #46C7BA
square
#7A46C7 #C74652 #93C746 #46C7BA
split-complementary
#7A46C7 #C7BA46 #52C746
monochromatic
#422271 #5D30A0 #7A46C7 #9C75D5 #BEA4E3

Accessibility & contrast

On white

5.95
#7A46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7A46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46C7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46C7#FFFFFF#000000##FFFFFF
##7A46C71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#686380
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a46c7;
/* rgb */ color: rgb(122, 70, 199);
/* oklch */ color: oklch(52.3% 0.191 298.0);
Tailwind
colors: {
  custom: {
    50: '#a67cd9',
    500: '#7a46c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a46c7;
$custom-light: #a67cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46c7",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 264.186,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.19124,
    "h": 298
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#7A46C7
secondary
#BAD098
accent
#DD4BA2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7A46C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva