#A047DC#A047DC

#A047DC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.221 H 308.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A047DC
RGBrgb(160, 71, 220)
HSLhsl(276, 68%, 57%)
HSVhsv(276, 68%, 86%)
CMYKcmyk(27.3%, 67.7%, 0%, 13.7%)
CIE-LABlab(48.45, 61.38, -61.04)
CIE-LCHlch(48.45, 86.57, 315.16°)
OKLaboklab(58.26% 0.137 -0.1728)
OKLCHoklch(58.26% 0.221 308.4)
XYZxyz(29.6661, 17.1478, 69.4433)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A047DC #83DC47
analogous
#5647DC #A047DC #DC47CE
triadic
#A047DC #DCA047 #47DCA0
tetradic
#A047DC #DC5647 #83DC47 #47CEDC
square
#A047DC #DC5647 #83DC47 #47CEDC
split-complementary
#A047DC #CEDC47 #47DC56
monochromatic
#5F1B8E #8225C1 #A047DC #BB7AE6 #D5AEF0

Accessibility & contrast

On white

4.74
#A047DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A047DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A047DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A047DC#FFFFFF#000000##FFFFFF
##A047DC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#97678C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a047dc;
/* rgb */ color: rgb(160, 71, 220);
/* oklch */ color: oklch(58.3% 0.221 308.4);
Tailwind
colors: {
  custom: {
    50: '#c181e8',
    500: '#a047dc',
    950: '#000000',
  },
}
SCSS
$custom: #a047dc;
$custom-light: #c181e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a047dc",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 275.839,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.22054,
    "h": 308.4
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#A047DC
secondary
#BADEA1
accent
#EB3D83
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A047DC

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

Preview Lab → · Contrast checker → · Palette generator →

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