#A345CF#A345CF

#A345CF is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.211 H 313.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A345CF
RGBrgb(163, 69, 207)
HSLhsl(281, 59%, 54%)
HSVhsv(281, 67%, 81%)
CMYKcmyk(21.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(47.69, 60.12, -54.81)
CIE-LCHlch(47.69, 81.36, 317.65°)
OKLaboklab(57.53% 0.1441 -0.1544)
OKLCHoklch(57.53% 0.211 313)
XYZxyz(28.4929, 16.5486, 60.7126)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345CF #71CF45
analogous
#5E45CF #A345CF #CF45B6
triadic
#A345CF #CFA345 #45CFA3
tetradic
#A345CF #CF5E45 #71CF45 #45B6CF
square
#A345CF #CF5E45 #71CF45 #45B6CF
split-complementary
#A345CF #B6CF45 #45CF5E
monochromatic
#5D207A #822CAB #A345CF #BB76DC #D3A6E8

Accessibility & contrast

On white

4.87
#A345CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A345CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345CF#FFFFFF#000000##FFFFFF
##A345CF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#9E6184
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a345cf;
/* rgb */ color: rgb(163, 69, 207);
/* oklch */ color: oklch(57.5% 0.211 313.0);
Tailwind
colors: {
  custom: {
    50: '#c27fde',
    500: '#a345cf',
    950: '#000000',
  },
}
SCSS
$custom: #a345cf;
$custom-light: #c27fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a345cf",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 280.87,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.21123,
    "h": 313
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#A345CF
secondary
#ADD59B
accent
#E24678
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345CF

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

Preview Lab → · Contrast checker → · Palette generator →

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