#A747DC#A747DC

#A747DC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.223 H 311.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A747DC
RGBrgb(167, 71, 220)
HSLhsl(279, 68%, 57%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(24.1%, 67.7%, 0%, 13.7%)
CIE-LABlab(49.36, 62.83, -59.52)
CIE-LCHlch(49.36, 86.54, 316.55°)
OKLaboklab(59.11% 0.1459 -0.1681)
OKLCHoklch(59.11% 0.223 311)
XYZxyz(31.1054, 17.8900, 69.5108)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747DC #7CDC47
analogous
#5D47DC #A747DC #DC47C6
triadic
#A747DC #DCA747 #47DCA7
tetradic
#A747DC #DC5D47 #7CDC47 #47C6DC
square
#A747DC #DC5D47 #7CDC47 #47C6DC
split-complementary
#A747DC #C6DC47 #47DC5D
monochromatic
#651B8E #8925C1 #A747DC #C07AE6 #D8AEF0

Accessibility & contrast

On white

4.59
#A747DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A747DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A747DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747DC#FFFFFF#000000##FFFFFF
##A747DC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#A0668C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a747dc;
/* rgb */ color: rgb(167, 71, 220);
/* oklch */ color: oklch(59.1% 0.223 311.0);
Tailwind
colors: {
  custom: {
    50: '#c581e8',
    500: '#a747dc',
    950: '#000000',
  },
}
SCSS
$custom: #a747dc;
$custom-light: #c581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a747dc",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 278.658,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.22261,
    "h": 311
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#A747DC
secondary
#B7DEA1
accent
#EB3D7B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A747DC

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

Preview Lab → · Contrast checker → · Palette generator →

#A747DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva