#A345D3#A345D3

#A345D3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.215 H 312.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A345D3
RGBrgb(163, 69, 211)
HSLhsl(280, 62%, 55%)
HSVhsv(280, 67%, 83%)
CMYKcmyk(22.7%, 67.3%, 0%, 17.3%)
CIE-LABlab(47.94, 60.96, -56.70)
CIE-LCHlch(47.94, 83.25, 317.07°)
OKLaboklab(57.79% 0.1438 -0.16)
OKLCHoklch(57.79% 0.215 312)
XYZxyz(28.9881, 16.7467, 63.3208)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345D3 #75D345
analogous
#5C45D3 #A345D3 #D345BC
triadic
#A345D3 #D3A345 #45D3A3
tetradic
#A345D3 #D35C45 #75D345 #45BCD3
square
#A345D3 #D35C45 #75D345 #45BCD3
split-complementary
#A345D3 #BCD345 #45D35C
monochromatic
#5F1E7F #832AB1 #A345D3 #BB76DF #D4A8EA

Accessibility & contrast

On white

4.83
#A345D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A345D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345D3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345D3#FFFFFF#000000##FFFFFF
##A345D31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#9D6287
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a345d3;
/* rgb */ color: rgb(163, 69, 211);
/* oklch */ color: oklch(57.8% 0.215 312.0);
Tailwind
colors: {
  custom: {
    50: '#c27fe1',
    500: '#a345d3',
    950: '#000000',
  },
}
SCSS
$custom: #a345d3;
$custom-light: #c27fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#a345d3",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 279.718,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.21511,
    "h": 312
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#A345D3
secondary
#B0D89C
accent
#E5437A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345D3

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

Preview Lab → · Contrast checker → · Palette generator →

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