#A345BC#A345BC

#A345BC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.193 H 318.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A345BC
RGBrgb(163, 69, 188)
HSLhsl(287, 47%, 50%)
HSVhsv(287, 63%, 74%)
CMYKcmyk(13.3%, 63.3%, 0%, 26.3%)
CIE-LABlab(46.54, 56.26, -45.64)
CIE-LCHlch(46.54, 72.45, 320.95°)
OKLaboklab(56.34% 0.1447 -0.1276)
OKLCHoklch(56.34% 0.193 318.6)
XYZxyz(26.3083, 15.6747, 49.2069)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345BC #5EBC45
analogous
#6745BC #A345BC #BC4599
triadic
#A345BC #BCA345 #45BCA3
tetradic
#A345BC #BC6745 #5EBC45 #4599BC
square
#A345BC #BC6745 #5EBC45 #4599BC
split-complementary
#A345BC #99BC45 #45BC67
monochromatic
#562463 #7D3490 #A345BC #B972CC #D09FDC

Accessibility & contrast

On white

5.08
#A345BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A345BC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345BC#FFFFFF#000000##FFFFFF
##A345BC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#A3597A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a345bc;
/* rgb */ color: rgb(163, 69, 188);
/* oklch */ color: oklch(56.3% 0.193 318.6);
Tailwind
colors: {
  custom: {
    50: '#c17fd1',
    500: '#a345bc',
    950: '#000000',
  },
}
SCSS
$custom: #a345bc;
$custom-light: #c17fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a345bc",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 287.395,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.19296,
    "h": 318.6
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#A345BC
secondary
#9FC994
accent
#D7516D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A345BC

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

Preview Lab → · Contrast checker → · Palette generator →

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