#A345CC#A345CC

#A345CC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.3% C 0.208 H 313.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A345CC
RGBrgb(163, 69, 204)
HSLhsl(282, 57%, 54%)
HSVhsv(282, 66%, 80%)
CMYKcmyk(20.1%, 66.2%, 0%, 20%)
CIE-LABlab(47.50, 59.50, -53.39)
CIE-LCHlch(47.50, 79.94, 318.10°)
OKLaboklab(57.34% 0.1443 -0.1503)
OKLCHoklch(57.34% 0.208 313.8)
XYZxyz(28.1296, 16.4033, 58.7994)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345CC #6ECC45
analogous
#5F45CC #A345CC #CC45B1
triadic
#A345CC #CCA345 #45CCA3
tetradic
#A345CC #CC5F45 #6ECC45 #45B1CC
square
#A345CC #CC5F45 #6ECC45 #45B1CC
split-complementary
#A345CC #B1CC45 #45CC5F
monochromatic
#5C2076 #822EA6 #A345CC #BB75D9 #D3A5E6

Accessibility & contrast

On white

4.91
#A345CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A345CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345CC#FFFFFF#000000##FFFFFF
##A345CC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#9F6083
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a345cc;
/* rgb */ color: rgb(163, 69, 204);
/* oklch */ color: oklch(57.3% 0.208 313.8);
Tailwind
colors: {
  custom: {
    50: '#c27fdc',
    500: '#a345cc',
    950: '#000000',
  },
}
SCSS
$custom: #a345cc;
$custom-light: #c27fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a345cc",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 281.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.20832,
    "h": 313.8
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#A345CC
secondary
#ABD399
accent
#E04876
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345CC

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

Preview Lab → · Contrast checker → · Palette generator →

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