#A547DC#A547DC

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

Color values

HEX#A547DC
RGBrgb(165, 71, 220)
HSLhsl(278, 68%, 57%)
HSVhsv(278, 68%, 86%)
CMYKcmyk(25%, 67.7%, 0%, 13.7%)
CIE-LABlab(49.10, 62.41, -59.96)
CIE-LCHlch(49.10, 86.55, 316.15°)
OKLaboklab(58.86% 0.1434 -0.1695)
OKLCHoklch(58.86% 0.222 310.2)
XYZxyz(30.6861, 17.6738, 69.4911)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A547DC #7EDC47
analogous
#5A47DC #A547DC #DC47C9
triadic
#A547DC #DCA547 #47DCA5
tetradic
#A547DC #DC5A47 #7EDC47 #47C9DC
square
#A547DC #DC5A47 #7EDC47 #47C9DC
split-complementary
#A547DC #C9DC47 #47DC5A
monochromatic
#631B8E #8725C1 #A547DC #BE7AE6 #D7AEF0

Accessibility & contrast

On white

4.63
#A547DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A547DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A547DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A547DC#FFFFFF#000000##FFFFFF
##A547DC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#9E678C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a547dc;
/* rgb */ color: rgb(165, 71, 220);
/* oklch */ color: oklch(58.9% 0.222 310.2);
Tailwind
colors: {
  custom: {
    50: '#c481e8',
    500: '#a547dc',
    950: '#000000',
  },
}
SCSS
$custom: #a547dc;
$custom-light: #c481e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a547dc",
  "rgb": {
    "r": 165,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 277.852,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.222,
    "h": 310.2
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#A547DC
secondary
#B7DEA1
accent
#EB3D7D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A547DC

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

Preview Lab → · Contrast checker → · Palette generator →

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