#A345AA#A345AA

#A345AA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.176 H 324.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A345AA
RGBrgb(163, 69, 170)
HSLhsl(296, 42%, 47%)
HSVhsv(296, 59%, 67%)
CMYKcmyk(4.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(45.56, 52.81, -36.64)
CIE-LCHlch(45.56, 64.27, 325.24°)
OKLaboklab(55.31% 0.144 -0.1014)
OKLCHoklch(55.31% 0.176 324.8)
XYZxyz(24.4875, 14.9464, 39.6175)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345AA #4CAA45
analogous
#7145AA #A345AA #AA457E
triadic
#A345AA #AAA345 #45AAA3
tetradic
#A345AA #AA7145 #4CAA45 #457EAA
square
#A345AA #AA7145 #4CAA45 #457EAA
split-complementary
#A345AA #7EAA45 #45AA71
monochromatic
#502253 #79337E #A345AA #BC6AC2 #D095D4

Accessibility & contrast

On white

5.26
#A345AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A345AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345AA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345AA#FFFFFF#000000##FFFFFF
##A345AA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#A65371
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a345aa;
/* rgb */ color: rgb(163, 69, 170);
/* oklch */ color: oklch(55.3% 0.176 324.8);
Tailwind
colors: {
  custom: {
    50: '#c17ec4',
    500: '#a345aa',
    950: '#000000',
  },
}
SCSS
$custom: #a345aa;
$custom-light: #c17ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a345aa",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 295.842,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55307,
    "c": 0.17617,
    "h": 324.8
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#A345AA
secondary
#8FC08B
accent
#D2565E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A345AA

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

Preview Lab → · Contrast checker → · Palette generator →

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