#A345BD#A345BD

#A345BD is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.194 H 318.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A345BD
RGBrgb(163, 69, 189)
HSLhsl(287, 48%, 51%)
HSVhsv(287, 63%, 74%)
CMYKcmyk(13.8%, 63.5%, 0%, 25.9%)
CIE-LABlab(46.60, 56.46, -46.14)
CIE-LCHlch(46.60, 72.91, 320.75°)
OKLaboklab(56.4% 0.1447 -0.129)
OKLCHoklch(56.4% 0.194 318.3)
XYZxyz(26.4164, 15.7180, 49.7766)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345BD #5FBD45
analogous
#6745BD #A345BD #BD459B
triadic
#A345BD #BDA345 #45BDA3
tetradic
#A345BD #BD6745 #5FBD45 #459BBD
square
#A345BD #BD6745 #5FBD45 #459BBD
split-complementary
#A345BD #9BBD45 #45BD67
monochromatic
#562464 #7D3491 #A345BD #B972CD #D09FDD

Accessibility & contrast

On white

5.07
#A345BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A345BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345BD#FFFFFF#000000##FFFFFF
##A345BD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#A35A7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a345bd;
/* rgb */ color: rgb(163, 69, 189);
/* oklch */ color: oklch(56.4% 0.194 318.3);
Tailwind
colors: {
  custom: {
    50: '#c17fd1',
    500: '#a345bd',
    950: '#000000',
  },
}
SCSS
$custom: #a345bd;
$custom-light: #c17fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a345bd",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 287,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.564,
    "c": 0.19391,
    "h": 318.3
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#A345BD
secondary
#A0CA94
accent
#D7516E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A345BD

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

Preview Lab → · Contrast checker → · Palette generator →

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