#A747E4#A747E4

#A747E4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.230 H 309.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A747E4
RGBrgb(167, 71, 228)
HSLhsl(277, 74%, 59%)
HSVhsv(277, 69%, 89%)
CMYKcmyk(26.8%, 68.9%, 0%, 10.6%)
CIE-LABlab(49.89, 64.53, -63.21)
CIE-LCHlch(49.89, 90.33, 315.59°)
OKLaboklab(59.65% 0.1451 -0.179)
OKLCHoklch(59.65% 0.23 309)
XYZxyz(32.1904, 18.3240, 75.2249)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A747E4 #84E447
analogous
#5847E4 #A747E4 #E447D2
triadic
#A747E4 #E4A747 #47E4A7
tetradic
#A747E4 #E45847 #84E447 #47D2E4
square
#A747E4 #E45847 #84E447 #47D2E4
split-complementary
#A747E4 #D2E447 #47E458
monochromatic
#67179A #8B1ECF #A747E4 #C17CEC #DAB2F4

Accessibility & contrast

On white

4.50
#A747E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A747E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A747E4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A747E4#FFFFFF#000000##000000
##A747E41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#9E6A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a747e4;
/* rgb */ color: rgb(167, 71, 228);
/* oklch */ color: oklch(59.6% 0.230 309.0);
Tailwind
colors: {
  custom: {
    50: '#c681ed',
    500: '#a747e4',
    950: '#000000',
  },
}
SCSS
$custom: #a747e4;
$custom-light: #c681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a747e4",
  "rgb": {
    "r": 167,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 276.688,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.23038,
    "h": 309
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#A747E4
secondary
#BCE2A4
accent
#F1377F
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A747E4

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

Preview Lab → · Contrast checker → · Palette generator →

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