#A345BB#A345BB

#A345BB is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.192 H 318.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A345BB
RGBrgb(163, 69, 187)
HSLhsl(288, 46%, 50%)
HSVhsv(288, 63%, 73%)
CMYKcmyk(12.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(46.49, 56.06, -45.15)
CIE-LCHlch(46.49, 71.99, 321.15°)
OKLaboklab(56.28% 0.1447 -0.1262)
OKLCHoklch(56.28% 0.192 318.9)
XYZxyz(26.2008, 15.6318, 48.6412)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345BB #5DBB45
analogous
#6845BB #A345BB #BB4598
triadic
#A345BB #BBA345 #45BBA3
tetradic
#A345BB #BB6845 #5DBB45 #4598BB
square
#A345BB #BB6845 #5DBB45 #4598BB
split-complementary
#A345BB #98BB45 #45BB68
monochromatic
#552462 #7C348F #A345BB #B972CB #CF9FDC

Accessibility & contrast

On white

5.09
#A345BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A345BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345BB#FFFFFF#000000##FFFFFF
##A345BB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#A3597A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a345bb;
/* rgb */ color: rgb(163, 69, 187);
/* oklch */ color: oklch(56.3% 0.192 318.9);
Tailwind
colors: {
  custom: {
    50: '#c17fd0',
    500: '#a345bb',
    950: '#000000',
  },
}
SCSS
$custom: #a345bb;
$custom-light: #c17fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a345bb",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 287.797,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.19201,
    "h": 318.9
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#A345BB
secondary
#9EC894
accent
#D6526D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A345BB

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

Preview Lab → · Contrast checker → · Palette generator →

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