#A345AC#A345AC

#A345AC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.178 H 324.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A345AC
RGBrgb(163, 69, 172)
HSLhsl(295, 43%, 47%)
HSVhsv(295, 60%, 67%)
CMYKcmyk(5.2%, 59.9%, 0%, 32.5%)
CIE-LABlab(45.67, 53.18, -37.66)
CIE-LCHlch(45.67, 65.16, 324.70°)
OKLaboklab(55.42% 0.1442 -0.1044)
OKLCHoklch(55.42% 0.178 324.1)
XYZxyz(24.6781, 15.0227, 40.6215)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345AC #4EAC45
analogous
#6F45AC #A345AC #AC4582
triadic
#A345AC #ACA345 #45ACA3
tetradic
#A345AC #AC6F45 #4EAC45 #4582AC
square
#A345AC #AC6F45 #4EAC45 #4582AC
split-complementary
#A345AC #82AC45 #45AC6F
monochromatic
#502255 #7A3380 #A345AC #BC6BC4 #D096D5

Accessibility & contrast

On white

5.24
#A345AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A345AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345AC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345AC#FFFFFF#000000##FFFFFF
##A345AC1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#A65372
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a345ac;
/* rgb */ color: rgb(163, 69, 172);
/* oklch */ color: oklch(55.4% 0.178 324.1);
Tailwind
colors: {
  custom: {
    50: '#c17ec5',
    500: '#a345ac',
    950: '#000000',
  },
}
SCSS
$custom: #a345ac;
$custom-light: #c17ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a345ac",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 294.757,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.17799,
    "h": 324.1
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#A345AC
secondary
#91C18C
accent
#D35560
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A345AC

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

Preview Lab → · Contrast checker → · Palette generator →

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