#A345BE#A345BE

#A345BE is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.195 H 318.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A345BE
RGBrgb(163, 69, 190)
HSLhsl(287, 48%, 51%)
HSVhsv(287, 64%, 75%)
CMYKcmyk(14.2%, 63.7%, 0%, 25.5%)
CIE-LABlab(46.66, 56.66, -46.63)
CIE-LCHlch(46.66, 73.38, 320.55°)
OKLaboklab(56.46% 0.1447 -0.1305)
OKLCHoklch(56.46% 0.195 318)
XYZxyz(26.5253, 15.7616, 50.3503)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345BE #60BE45
analogous
#6645BE #A345BE #BE459C
triadic
#A345BE #BEA345 #45BEA3
tetradic
#A345BE #BE6645 #60BE45 #459CBE
square
#A345BE #BE6645 #60BE45 #459CBE
split-complementary
#A345BE #9CBE45 #45BE66
monochromatic
#572365 #7D3393 #A345BE #B972CE #D0A0DE

Accessibility & contrast

On white

5.06
#A345BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A345BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345BE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345BE#FFFFFF#000000##FFFFFF
##A345BE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#A25A7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a345be;
/* rgb */ color: rgb(163, 69, 190);
/* oklch */ color: oklch(56.5% 0.195 318.0);
Tailwind
colors: {
  custom: {
    50: '#c17fd2',
    500: '#a345be',
    950: '#000000',
  },
}
SCSS
$custom: #a345be;
$custom-light: #c17fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a345be",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 286.612,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.19486,
    "h": 318
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#A345BE
secondary
#A1CA95
accent
#D8506E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A345BE

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

Preview Lab → · Contrast checker → · Palette generator →

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