#A345B2#A345B2

#A345B2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.184 H 321.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A345B2
RGBrgb(163, 69, 178)
HSLhsl(292, 44%, 48%)
HSVhsv(292, 61%, 70%)
CMYKcmyk(8.4%, 61.2%, 0%, 30.2%)
CIE-LABlab(45.99, 54.32, -40.68)
CIE-LCHlch(45.99, 67.86, 323.17°)
OKLaboklab(55.75% 0.1445 -0.1131)
OKLCHoklch(55.75% 0.184 321.9)
XYZxyz(25.2674, 15.2584, 43.7251)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345B2 #54B245
analogous
#6C45B2 #A345B2 #B2458A
triadic
#A345B2 #B2A345 #45B2A3
tetradic
#A345B2 #B26C45 #54B245 #458AB2
square
#A345B2 #B26C45 #54B245 #458AB2
split-complementary
#A345B2 #8AB245 #45B26C
monochromatic
#52235A #7B3486 #A345B2 #BA6EC7 #CF9AD8

Accessibility & contrast

On white

5.18
#A345B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A345B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345B2#FFFFFF#000000##FFFFFF
##A345B21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#A55675
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a345b2;
/* rgb */ color: rgb(163, 69, 178);
/* oklch */ color: oklch(55.8% 0.184 321.9);
Tailwind
colors: {
  custom: {
    50: '#c17ec9',
    500: '#a345b2',
    950: '#000000',
  },
}
SCSS
$custom: #a345b2;
$custom-light: #c17ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a345b2",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 291.743,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.18355,
    "h": 321.9
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#A345B2
secondary
#96C48F
accent
#D45466
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A345B2

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

Preview Lab → · Contrast checker → · Palette generator →

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