#A345B8#A345B8

#A345B8 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.189 H 319.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A345B8
RGBrgb(163, 69, 184)
HSLhsl(289, 45%, 50%)
HSVhsv(289, 63%, 72%)
CMYKcmyk(11.4%, 62.5%, 0%, 27.8%)
CIE-LABlab(46.32, 55.48, -43.67)
CIE-LCHlch(46.32, 70.60, 321.79°)
OKLaboklab(56.1% 0.1447 -0.1218)
OKLCHoklch(56.1% 0.189 319.9)
XYZxyz(25.8830, 15.5047, 46.9674)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345B8 #5AB845
analogous
#6945B8 #A345B8 #B84594
triadic
#A345B8 #B8A345 #45B8A3
tetradic
#A345B8 #B86945 #5AB845 #4594B8
square
#A345B8 #B86945 #5AB845 #4594B8
split-complementary
#A345B8 #94B845 #45B869
monochromatic
#54245F #7C348B #A345B8 #B971CA #CF9DDA

Accessibility & contrast

On white

5.12
#A345B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A345B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345B8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345B8#FFFFFF#000000##FFFFFF
##A345B81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BC
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#A45878
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a345b8;
/* rgb */ color: rgb(163, 69, 184);
/* oklch */ color: oklch(56.1% 0.189 319.9);
Tailwind
colors: {
  custom: {
    50: '#c17fce',
    500: '#a345b8',
    950: '#000000',
  },
}
SCSS
$custom: #a345b8;
$custom-light: #c17fce;
$custom-dark: #000000;
JSON
{
  "hex": "#a345b8",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 289.043,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.18917,
    "h": 319.9
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#A345B8
secondary
#9CC792
accent
#D5536A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A345B8

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

Preview Lab → · Contrast checker → · Palette generator →

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