#7A47DA#7A47DA

#7A47DA is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.212 H 294.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7A47DA
RGBrgb(122, 71, 218)
HSLhsl(261, 67%, 57%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(44%, 67.4%, 0%, 14.5%)
CIE-LABlab(43.81, 53.47, -67.63)
CIE-LCHlch(43.81, 86.22, 308.33°)
OKLaboklab(53.9% 0.0863 -0.1935)
OKLCHoklch(53.9% 0.212 294)
XYZxyz(22.9307, 13.7054, 67.7533)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47DA #A7DA47
analogous
#475EDA #7A47DA #C347DA
triadic
#7A47DA #DA7A47 #47DA7A
tetradic
#7A47DA #DA475E #A7DA47 #47DAC3
square
#7A47DA #DA475E #A7DA47 #47DAC3
split-complementary
#7A47DA #DAC347 #5EDA47
monochromatic
#421C8B #5B26BE #7A47DA #9F7AE4 #C4ADEE

Accessibility & contrast

On white

5.61
#7A47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47DA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47DA#FFFFFF#000000##FFFFFF
##7A47DA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#5F6B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a47da;
/* rgb */ color: rgb(122, 71, 218);
/* oklch */ color: oklch(53.9% 0.212 294.0);
Tailwind
colors: {
  custom: {
    50: '#a87ee6',
    500: '#7a47da',
    950: '#000000',
  },
}
SCSS
$custom: #7a47da;
$custom-light: #a87ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47da",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 260.816,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.21184,
    "h": 294
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#7A47DA
secondary
#C8DCA0
accent
#E93EAE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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