#7A47CE#7A47CE

#7A47CE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.198 H 296.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7A47CE
RGBrgb(122, 71, 206)
HSLhsl(263, 58%, 54%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.8%, 65.5%, 0%, 19.2%)
CIE-LABlab(42.91, 50.32, -62.19)
CIE-LCHlch(42.91, 80.00, 308.98°)
OKLaboklab(52.98% 0.0879 -0.1775)
OKLCHoklch(52.98% 0.198 296.3)
XYZxyz(21.4169, 13.0999, 59.7807)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47CE #9BCE47
analogous
#4758CE #7A47CE #BE47CE
triadic
#7A47CE #CE7A47 #47CE7A
tetradic
#7A47CE #CE4758 #9BCE47 #47CEBE
square
#7A47CE #CE4758 #9BCE47 #47CEBE
split-complementary
#7A47CE #CEBE47 #58CE47
monochromatic
#42217A #5D2DAA #7A47CE #9D77DB #C0A8E8

Accessibility & contrast

On white

5.80
#7A47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7A47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47CE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47CE#FFFFFF#000000##FFFFFF
##7A47CE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#656784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a47ce;
/* rgb */ color: rgb(122, 71, 206);
/* oklch */ color: oklch(53.0% 0.198 296.3);
Tailwind
colors: {
  custom: {
    50: '#a77dde',
    500: '#7a47ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a47ce;
$custom-light: #a77dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47ce",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 262.667,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.19804,
    "h": 296.3
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#7A47CE
secondary
#BFD59C
accent
#E147A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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