#A345C2#A345C2

#A345C2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.199 H 316.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A345C2
RGBrgb(163, 69, 194)
HSLhsl(285, 51%, 52%)
HSVhsv(285, 64%, 76%)
CMYKcmyk(16%, 64.4%, 0%, 23.9%)
CIE-LABlab(46.89, 57.46, -48.58)
CIE-LCHlch(46.89, 75.24, 319.79°)
OKLaboklab(56.71% 0.1447 -0.1362)
OKLCHoklch(56.71% 0.199 316.7)
XYZxyz(26.9685, 15.9389, 52.6844)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345C2 #64C245
analogous
#6545C2 #A345C2 #C245A3
triadic
#A345C2 #C2A345 #45C2A3
tetradic
#A345C2 #C26545 #64C245 #45A3C2
square
#A345C2 #C26545 #64C245 #45A3C2
split-complementary
#A345C2 #A3C245 #45C265
monochromatic
#58236A #7F3298 #A345C2 #BA73D1 #D1A1E0

Accessibility & contrast

On white

5.01
#A345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A345C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345C2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345C2#FFFFFF#000000##FFFFFF
##A345C21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#A15C7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a345c2;
/* rgb */ color: rgb(163, 69, 194);
/* oklch */ color: oklch(56.7% 0.199 316.7);
Tailwind
colors: {
  custom: {
    50: '#c27fd5',
    500: '#a345c2',
    950: '#000000',
  },
}
SCSS
$custom: #a345c2;
$custom-light: #c27fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a345c2",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 285.12,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.19869,
    "h": 316.7
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#A345C2
secondary
#A4CD96
accent
#DA4E71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A345C2

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

Preview Lab → · Contrast checker → · Palette generator →

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