#A345CA#A345CA

#A345CA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.206 H 314.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A345CA
RGBrgb(163, 69, 202)
HSLhsl(282, 56%, 53%)
HSVhsv(282, 66%, 79%)
CMYKcmyk(19.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(47.38, 59.09, -52.43)
CIE-LCHlch(47.38, 79.00, 318.42°)
OKLaboklab(57.21% 0.1444 -0.1475)
OKLCHoklch(57.21% 0.206 314.4)
XYZxyz(27.8913, 16.3080, 57.5442)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345CA #6CCA45
analogous
#6045CA #A345CA #CA45AE
triadic
#A345CA #CAA345 #45CAA3
tetradic
#A345CA #CA6045 #6CCA45 #45AECA
square
#A345CA #CA6045 #6CCA45 #45AECA
split-complementary
#A345CA #AECA45 #45CA60
monochromatic
#5B2174 #812FA3 #A345CA #BB75D8 #D2A4E5

Accessibility & contrast

On white

4.93
#A345CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A345CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345CA#FFFFFF#000000##FFFFFF
##A345CA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#A05F82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a345ca;
/* rgb */ color: rgb(163, 69, 202);
/* oklch */ color: oklch(57.2% 0.206 314.4);
Tailwind
colors: {
  custom: {
    50: '#c27fdb',
    500: '#a345ca',
    950: '#000000',
  },
}
SCSS
$custom: #a345ca;
$custom-light: #c27fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a345ca",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 282.406,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.20639,
    "h": 314.4
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#A345CA
secondary
#AAD299
accent
#DF4975
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345CA

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

Preview Lab → · Contrast checker → · Palette generator →

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