#7A47C5#7A47C5

#7A47C5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.188 H 298.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7A47C5
RGBrgb(122, 71, 197)
HSLhsl(264, 52%, 53%)
HSVhsv(264, 64%, 77%)
CMYKcmyk(38.1%, 64%, 0%, 22.7%)
CIE-LABlab(42.27, 47.98, -58.03)
CIE-LCHlch(42.27, 75.30, 309.59°)
OKLaboklab(52.31% 0.0888 -0.1652)
OKLCHoklch(52.31% 0.188 298.3)
XYZxyz(20.3548, 12.6750, 54.1866)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47C5 #92C547
analogous
#4753C5 #7A47C5 #B947C5
triadic
#7A47C5 #C57A47 #47C57A
tetradic
#7A47C5 #C54753 #92C547 #47C5B9
square
#7A47C5 #C54753 #92C547 #47C5B9
split-complementary
#7A47C5 #C5B947 #53C547
monochromatic
#42236F #5D329D #7A47C5 #9C76D4 #BDA4E2

Accessibility & contrast

On white

5.94
#7A47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7A47C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47C5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47C5#FFFFFF#000000##FFFFFF
##7A47C51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a47c5;
/* rgb */ color: rgb(122, 71, 197);
/* oklch */ color: oklch(52.3% 0.188 298.3);
Tailwind
colors: {
  custom: {
    50: '#a67dd7',
    500: '#7a47c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a47c5;
$custom-light: #a67dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47c5",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 264.286,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.18758,
    "h": 298.3
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#7A47C5
secondary
#B9CF99
accent
#DC4CA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A47C5

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

Preview Lab → · Contrast checker → · Palette generator →

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