#A345BA#A345BA

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

Color values

HEX#A345BA
RGBrgb(163, 69, 186)
HSLhsl(288, 46%, 50%)
HSVhsv(288, 63%, 73%)
CMYKcmyk(12.4%, 62.9%, 0%, 27.1%)
CIE-LABlab(46.43, 55.87, -44.66)
CIE-LCHlch(46.43, 71.52, 321.36°)
OKLaboklab(56.22% 0.1447 -0.1247)
OKLCHoklch(56.22% 0.191 319.2)
XYZxyz(26.0942, 15.5891, 48.0793)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345BA #5CBA45
analogous
#6845BA #A345BA #BA4597
triadic
#A345BA #BAA345 #45BAA3
tetradic
#A345BA #BA6845 #5CBA45 #4597BA
square
#A345BA #BA6845 #5CBA45 #4597BA
split-complementary
#A345BA #97BA45 #45BA68
monochromatic
#552461 #7C348D #A345BA #B972CB #CF9EDB

Accessibility & contrast

On white

5.10
#A345BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A345BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345BA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345BA#FFFFFF#000000##FFFFFF
##A345BA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#A35979
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a345ba;
/* rgb */ color: rgb(163, 69, 186);
/* oklch */ color: oklch(56.2% 0.191 319.2);
Tailwind
colors: {
  custom: {
    50: '#c17fcf',
    500: '#a345ba',
    950: '#000000',
  },
}
SCSS
$custom: #a345ba;
$custom-light: #c17fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a345ba",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 288.205,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.19107,
    "h": 319.2
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#A345BA
secondary
#9DC893
accent
#D6526C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A345BA

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

Preview Lab → · Contrast checker → · Palette generator →

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