#7A47C7#7A47C7

#7A47C7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.190 H 297.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7A47C7
RGBrgb(122, 71, 199)
HSLhsl(264, 53%, 53%)
HSVhsv(264, 64%, 78%)
CMYKcmyk(38.7%, 64.3%, 0%, 22%)
CIE-LABlab(42.41, 48.50, -58.96)
CIE-LCHlch(42.41, 76.34, 309.44°)
OKLaboklab(52.46% 0.0886 -0.168)
OKLCHoklch(52.46% 0.19 297.8)
XYZxyz(20.5855, 12.7673, 55.4015)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47C7 #94C747
analogous
#4754C7 #7A47C7 #BA47C7
triadic
#7A47C7 #C77A47 #47C77A
tetradic
#7A47C7 #C74754 #94C747 #47C7BA
square
#7A47C7 #C74754 #94C747 #47C7BA
split-complementary
#7A47C7 #C7BA47 #54C747
monochromatic
#422271 #5D31A0 #7A47C7 #9C76D5 #BEA5E4

Accessibility & contrast

On white

5.91
#7A47C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7A47C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47C7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47C7#FFFFFF#000000##FFFFFF
##7A47C71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a47c7;
/* rgb */ color: rgb(122, 71, 199);
/* oklch */ color: oklch(52.5% 0.190 297.8);
Tailwind
colors: {
  custom: {
    50: '#a67dd9',
    500: '#7a47c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a47c7;
$custom-light: #a67dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47c7",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 263.906,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.18991,
    "h": 297.8
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#7A47C7
secondary
#BBD199
accent
#DD4BA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A47C7

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

Preview Lab → · Contrast checker → · Palette generator →

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