#A147DC#A147DC

#A147DC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.221 H 308.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A147DC
RGBrgb(161, 71, 220)
HSLhsl(276, 68%, 57%)
HSVhsv(276, 68%, 86%)
CMYKcmyk(26.8%, 67.7%, 0%, 13.7%)
CIE-LABlab(48.58, 61.59, -60.83)
CIE-LCHlch(48.58, 86.56, 315.36°)
OKLaboklab(58.38% 0.1383 -0.1722)
OKLCHoklch(58.38% 0.221 308.8)
XYZxyz(29.8668, 17.2514, 69.4527)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A147DC #82DC47
analogous
#5747DC #A147DC #DC47CC
triadic
#A147DC #DCA147 #47DCA1
tetradic
#A147DC #DC5747 #82DC47 #47CCDC
square
#A147DC #DC5747 #82DC47 #47CCDC
split-complementary
#A147DC #CCDC47 #47DC57
monochromatic
#601B8E #8325C1 #A147DC #BB7AE6 #D6AEF0

Accessibility & contrast

On white

4.72
#A147DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A147DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A147DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A147DC#FFFFFF#000000##FFFFFF
##A147DC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a147dc;
/* rgb */ color: rgb(161, 71, 220);
/* oklch */ color: oklch(58.4% 0.221 308.8);
Tailwind
colors: {
  custom: {
    50: '#c181e8',
    500: '#a147dc',
    950: '#000000',
  },
}
SCSS
$custom: #a147dc;
$custom-light: #c181e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a147dc",
  "rgb": {
    "r": 161,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 276.242,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.22082,
    "h": 308.8
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#A147DC
secondary
#B9DEA1
accent
#EB3D82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A147DC

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

Preview Lab → · Contrast checker → · Palette generator →

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