#7A46A5#7A46A5

#7A46A5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.151 H 307.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7A46A5
RGBrgb(122, 70, 165)
HSLhsl(273, 40%, 46%)
HSVhsv(273, 58%, 65%)
CMYKcmyk(26.1%, 57.6%, 0%, 35.3%)
CIE-LABlab(39.97, 40.48, -42.89)
CIE-LCHlch(39.97, 58.98, 313.35°)
OKLaboklab(49.97% 0.0911 -0.1208)
OKLCHoklch(49.97% 0.151 307)
XYZxyz(17.0063, 11.2347, 36.8626)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46A5 #71A546
analogous
#4A46A5 #7A46A5 #A546A0
triadic
#7A46A5 #A57A46 #46A57A
tetradic
#7A46A5 #A54A46 #71A546 #46A0A5
square
#7A46A5 #A54A46 #71A546 #46A0A5
split-complementary
#7A46A5 #A0A546 #46A54A
monochromatic
#3A224F #5A347A #7A46A5 #9869BF #B694D2

Accessibility & contrast

On white

6.47
#7A46A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7A46A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46A5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46A5#FFFFFF#000000##FFFFFF
##7A46A51.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#73586F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a46a5;
/* rgb */ color: rgb(122, 70, 165);
/* oklch */ color: oklch(50.0% 0.151 307.0);
Tailwind
colors: {
  custom: {
    50: '#a37cc0',
    500: '#7a46a5',
    950: '#000000',
  },
}
SCSS
$custom: #7a46a5;
$custom-light: #a37cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46a5",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 272.842,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.15127,
    "h": 307
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#7A46A5
secondary
#A1BD89
accent
#D0588E
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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