#A047D9#A047D9

#A047D9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.218 H 309.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A047D9
RGBrgb(160, 71, 217)
HSLhsl(277, 66%, 56%)
HSVhsv(277, 67%, 85%)
CMYKcmyk(26.3%, 67.3%, 0%, 14.9%)
CIE-LABlab(48.25, 60.73, -59.65)
CIE-LCHlch(48.25, 85.12, 315.51°)
OKLaboklab(58.05% 0.1373 -0.1688)
OKLCHoklch(58.05% 0.218 309.1)
XYZxyz(29.2723, 16.9903, 67.3696)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A047D9 #80D947
analogous
#5747D9 #A047D9 #D947C9
triadic
#A047D9 #D9A047 #47D9A0
tetradic
#A047D9 #D95747 #80D947 #47C9D9
square
#A047D9 #D95747 #80D947 #47C9D9
split-complementary
#A047D9 #C9D947 #47D957
monochromatic
#5F1C89 #8227BC #A047D9 #BA7AE3 #D4ACEE

Accessibility & contrast

On white

4.77
#A047D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A047D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A047D9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A047D9#FFFFFF#000000##FFFFFF
##A047D91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2C74D6
Tritanopia (blue-blind)
#98668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a047d9;
/* rgb */ color: rgb(160, 71, 217);
/* oklch */ color: oklch(58.1% 0.218 309.1);
Tailwind
colors: {
  custom: {
    50: '#c081e6',
    500: '#a047d9',
    950: '#000000',
  },
}
SCSS
$custom: #a047d9;
$custom-light: #c081e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a047d9",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 276.575,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.21755,
    "h": 309.1
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#A047D9
secondary
#B7DCA0
accent
#E93F81
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A047D9

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

Preview Lab → · Contrast checker → · Palette generator →

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