#A747D9#A747D9

#A747D9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.220 H 311.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A747D9
RGBrgb(167, 71, 217)
HSLhsl(279, 66%, 56%)
HSVhsv(279, 67%, 85%)
CMYKcmyk(23%, 67.3%, 0%, 14.9%)
CIE-LABlab(49.17, 62.20, -58.12)
CIE-LCHlch(49.17, 85.13, 316.94°)
OKLaboklab(58.91% 0.1462 -0.164)
OKLCHoklch(58.91% 0.22 311.7)
XYZxyz(30.7117, 17.7325, 67.4371)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747D9 #79D947
analogous
#5E47D9 #A747D9 #D947C2
triadic
#A747D9 #D9A747 #47D9A7
tetradic
#A747D9 #D95E47 #79D947 #47C2D9
square
#A747D9 #D95E47 #79D947 #47C2D9
split-complementary
#A747D9 #C2D947 #47D95E
monochromatic
#641C89 #8927BC #A747D9 #BF7AE3 #D8ACEE

Accessibility & contrast

On white

4.62
#A747D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A747D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A747D9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747D9#FFFFFF#000000##FFFFFF
##A747D91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#A1658B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a747d9;
/* rgb */ color: rgb(167, 71, 217);
/* oklch */ color: oklch(58.9% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#c581e5',
    500: '#a747d9',
    950: '#000000',
  },
}
SCSS
$custom: #a747d9;
$custom-light: #c581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a747d9",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 279.452,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.21971,
    "h": 311.7
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#A747D9
secondary
#B4DCA0
accent
#E93F79
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A747D9

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

Preview Lab → · Contrast checker → · Palette generator →

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