#A147BA#A147BA

#A147BA is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.187 H 318.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A147BA
RGBrgb(161, 71, 186)
HSLhsl(287, 45%, 50%)
HSVhsv(287, 62%, 73%)
CMYKcmyk(13.4%, 61.8%, 0%, 27.1%)
CIE-LABlab(46.48, 54.46, -44.59)
CIE-LCHlch(46.48, 70.39, 320.69°)
OKLaboklab(56.2% 0.1399 -0.1246)
OKLCHoklch(56.2% 0.187 318.3)
XYZxyz(25.8129, 15.6298, 48.1020)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A147BA #60BA47
analogous
#6847BA #A147BA #BA4799
triadic
#A147BA #BAA147 #47BAA1
tetradic
#A147BA #BA6847 #60BA47 #4799BA
square
#A147BA #BA6847 #60BA47 #4799BA
split-complementary
#A147BA #99BA47 #47BA68
monochromatic
#552562 #7B358E #A147BA #B874CB #CEA0DB

Accessibility & contrast

On white

5.09
#A147BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A147BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A147BA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A147BA#FFFFFF#000000##FFFFFF
##A147BA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#A15A7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a147ba;
/* rgb */ color: rgb(161, 71, 186);
/* oklch */ color: oklch(56.2% 0.187 318.3);
Tailwind
colors: {
  custom: {
    50: '#c080cf',
    500: '#a147ba',
    950: '#000000',
  },
}
SCSS
$custom: #a147ba;
$custom-light: #c080cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a147ba",
  "rgb": {
    "r": 161,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 286.957,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.18733,
    "h": 318.3
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#A147BA
secondary
#A0C895
accent
#D5536F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A147BA

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

Preview Lab → · Contrast checker → · Palette generator →

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