#A345AF#A345AF

#A345AF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.181 H 323.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A345AF
RGBrgb(163, 69, 175)
HSLhsl(293, 43%, 48%)
HSVhsv(293, 61%, 69%)
CMYKcmyk(6.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(45.82, 53.74, -39.17)
CIE-LCHlch(45.82, 66.51, 323.91°)
OKLaboklab(55.58% 0.1444 -0.1088)
OKLCHoklch(55.58% 0.181 323)
XYZxyz(24.9695, 15.1392, 42.1561)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345AF #51AF45
analogous
#6E45AF #A345AF #AF4586
triadic
#A345AF #AFA345 #45AFA3
tetradic
#A345AF #AF6E45 #51AF45 #4586AF
square
#A345AF #AF6E45 #51AF45 #4586AF
split-complementary
#A345AF #86AF45 #45AF6E
monochromatic
#512257 #7A3483 #A345AF #BB6CC5 #CF98D6

Accessibility & contrast

On white

5.21
#A345AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A345AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345AF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345AF#FFFFFF#000000##FFFFFF
##A345AF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#A55574
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a345af;
/* rgb */ color: rgb(163, 69, 175);
/* oklch */ color: oklch(55.6% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#c17ec7',
    500: '#a345af',
    950: '#000000',
  },
}
SCSS
$custom: #a345af;
$custom-light: #c17ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#a345af",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 293.208,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.18076,
    "h": 323
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#A345AF
secondary
#93C28D
accent
#D35563
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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