#7A47C8#7A47C8

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

Color values

HEX#7A47C8
RGBrgb(122, 71, 200)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 65%, 78%)
CMYKcmyk(39%, 64.5%, 0%, 21.6%)
CIE-LABlab(42.48, 48.76, -59.42)
CIE-LCHlch(42.48, 76.87, 309.37°)
OKLaboklab(52.53% 0.0885 -0.1693)
OKLCHoklch(52.53% 0.191 297.6)
XYZxyz(20.7019, 12.8139, 56.0150)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47C8 #95C847
analogous
#4754C8 #7A47C8 #BA47C8
triadic
#7A47C8 #C87A47 #47C87A
tetradic
#7A47C8 #C84754 #95C847 #47C8BA
square
#7A47C8 #C84754 #95C847 #47C8BA
split-complementary
#7A47C8 #C8BA47 #54C847
monochromatic
#422272 #5D30A2 #7A47C8 #9C76D6 #BEA5E4

Accessibility & contrast

On white

5.89
#7A47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7A47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47C8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47C8#FFFFFF#000000##FFFFFF
##7A47C81.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#676481
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a47c8;
/* rgb */ color: rgb(122, 71, 200);
/* oklch */ color: oklch(52.5% 0.191 297.6);
Tailwind
colors: {
  custom: {
    50: '#a67dda',
    500: '#7a47c8',
    950: '#000000',
  },
}
SCSS
$custom: #7a47c8;
$custom-light: #a67dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47c8",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 263.721,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.19108,
    "h": 297.6
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#7A47C8
secondary
#BBD19A
accent
#DD4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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