#A747F6#A747F6

#A747F6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.9% C 0.248 H 305.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A747F6
RGBrgb(167, 71, 246)
HSLhsl(273, 91%, 62%)
HSVhsv(273, 71%, 96%)
CMYKcmyk(32.1%, 71.1%, 0%, 3.5%)
CIE-LABlab(51.12, 68.44, -71.32)
CIE-LCHlch(51.12, 98.85, 313.82°)
OKLaboklab(60.92% 0.1425 -0.2028)
OKLCHoklch(60.92% 0.248 305.1)
XYZxyz(34.8204, 19.3760, 89.0764)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747F6 #96F647
analogous
#4F47F6 #A747F6 #F647EE
triadic
#A747F6 #F6A747 #47F6A7
tetradic
#A747F6 #F64F47 #96F647 #47EEF6
square
#A747F6 #F64F47 #96F647 #47EEF6
split-complementary
#A747F6 #EEF647 #47F64F
monochromatic
#6A09BA #8B0DF3 #A747F6 #C381F9 #DFBCFC

Accessibility & contrast

On white

4.31
#A747F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A747F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A747F6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747F6#FFFFFF#000000##000000
##A747F61.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#98719B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a747f6;
/* rgb */ color: rgb(167, 71, 246);
/* oklch */ color: oklch(60.9% 0.248 305.1);
Tailwind
colors: {
  custom: {
    50: '#c782fa',
    500: '#a747f6',
    950: '#000000',
  },
}
SCSS
$custom: #a747f6;
$custom-light: #c782fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a747f6",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 246
  },
  "hsl": {
    "h": 272.914,
    "s": 90.674,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.24786,
    "h": 305.1
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#A747F6
secondary
#C9EDAC
accent
#E60068
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A747F6

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

Preview Lab → · Contrast checker → · Palette generator →

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