#A345BF#A345BF

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

Color values

HEX#A345BF
RGBrgb(163, 69, 191)
HSLhsl(286, 49%, 51%)
HSVhsv(286, 64%, 75%)
CMYKcmyk(14.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(46.72, 56.86, -47.11)
CIE-LCHlch(46.72, 73.84, 320.35°)
OKLaboklab(56.52% 0.1447 -0.1319)
OKLCHoklch(56.52% 0.196 317.7)
XYZxyz(26.6350, 15.8054, 50.9279)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345BF #61BF45
analogous
#6645BF #A345BF #BF459E
triadic
#A345BF #BFA345 #45BFA3
tetradic
#A345BF #BF6645 #61BF45 #459EBF
square
#A345BF #BF6645 #61BF45 #459EBF
split-complementary
#A345BF #9EBF45 #45BF66
monochromatic
#572366 #7E3394 #A345BF #BA73CF #D0A0DE

Accessibility & contrast

On white

5.05
#A345BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A345BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345BF#FFFFFF#000000##FFFFFF
##A345BF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#A25B7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a345bf;
/* rgb */ color: rgb(163, 69, 191);
/* oklch */ color: oklch(56.5% 0.196 317.7);
Tailwind
colors: {
  custom: {
    50: '#c17fd3',
    500: '#a345bf',
    950: '#000000',
  },
}
SCSS
$custom: #a345bf;
$custom-light: #c17fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a345bf",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 286.23,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.19582,
    "h": 317.7
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#A345BF
secondary
#A1CB95
accent
#D84F6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A345BF

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

Preview Lab → · Contrast checker → · Palette generator →

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