#7A47A5#7A47A5

#7A47A5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.150 H 306.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7A47A5
RGBrgb(122, 71, 165)
HSLhsl(273, 40%, 46%)
HSVhsv(273, 57%, 65%)
CMYKcmyk(26.1%, 57%, 0%, 35.3%)
CIE-LABlab(40.18, 39.93, -42.55)
CIE-LCHlch(40.18, 58.36, 313.18°)
OKLaboklab(50.12% 0.0898 -0.1198)
OKLCHoklch(50.12% 0.15 306.8)
XYZxyz(17.0694, 11.3608, 36.8836)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47A5 #72A547
analogous
#4B47A5 #7A47A5 #A547A1
triadic
#7A47A5 #A57A47 #47A57A
tetradic
#7A47A5 #A54B47 #72A547 #47A1A5
square
#7A47A5 #A54B47 #72A547 #47A1A5
split-complementary
#7A47A5 #A1A547 #47A54B
monochromatic
#3B224F #5A357A #7A47A5 #986ABF #B695D1

Accessibility & contrast

On white

6.42
#7A47A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A47A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47A5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47A5#FFFFFF#000000##FFFFFF
##7A47A51.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#73596F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a47a5;
/* rgb */ color: rgb(122, 71, 165);
/* oklch */ color: oklch(50.1% 0.150 306.8);
Tailwind
colors: {
  custom: {
    50: '#a37cc0',
    500: '#7a47a5',
    950: '#000000',
  },
}
SCSS
$custom: #7a47a5;
$custom-light: #a37cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47a5",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 272.553,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.14969,
    "h": 306.8
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#7A47A5
secondary
#A2BD8B
accent
#D0588F
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7A47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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