#A345D2#A345D2

#A345D2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.214 H 312.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A345D2
RGBrgb(163, 69, 210)
HSLhsl(280, 61%, 55%)
HSVhsv(280, 67%, 82%)
CMYKcmyk(22.4%, 67.1%, 0%, 17.6%)
CIE-LABlab(47.88, 60.75, -56.23)
CIE-LCHlch(47.88, 82.78, 317.21°)
OKLaboklab(57.73% 0.1439 -0.1586)
OKLCHoklch(57.73% 0.214 312.2)
XYZxyz(28.8631, 16.6967, 62.6626)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345D2 #74D245
analogous
#5D45D2 #A345D2 #D245BB
triadic
#A345D2 #D2A345 #45D2A3
tetradic
#A345D2 #D25D45 #74D245 #45BBD2
square
#A345D2 #D25D45 #74D245 #45BBD2
split-complementary
#A345D2 #BBD245 #45D25D
monochromatic
#5E1F7E #832AAF #A345D2 #BB76DE #D4A8EA

Accessibility & contrast

On white

4.84
#A345D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A345D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345D2#FFFFFF#000000##FFFFFF
##A345D21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3774CF
Tritanopia (blue-blind)
#9E6286
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a345d2;
/* rgb */ color: rgb(163, 69, 210);
/* oklch */ color: oklch(57.7% 0.214 312.2);
Tailwind
colors: {
  custom: {
    50: '#c27fe0',
    500: '#a345d2',
    950: '#000000',
  },
}
SCSS
$custom: #a345d2;
$custom-light: #c27fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a345d2",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 280,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.21414,
    "h": 312.2
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#A345D2
secondary
#AFD79C
accent
#E44479
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345D2

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

Preview Lab → · Contrast checker → · Palette generator →

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