#A345D6#A345D6

#A345D6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.218 H 311.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A345D6
RGBrgb(163, 69, 214)
HSLhsl(279, 64%, 55%)
HSVhsv(279, 68%, 84%)
CMYKcmyk(23.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(48.13, 61.59, -58.11)
CIE-LCHlch(48.13, 84.68, 316.67°)
OKLaboklab(57.99% 0.1435 -0.1641)
OKLCHoklch(57.99% 0.218 311.2)
XYZxyz(29.3677, 16.8985, 65.3200)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345D6 #78D645
analogous
#5B45D6 #A345D6 #D645C0
triadic
#A345D6 #D6A345 #45D6A3
tetradic
#A345D6 #D65B45 #78D645 #45C0D6
square
#A345D6 #D65B45 #78D645 #45C0D6
split-complementary
#A345D6 #C0D645 #45D65B
monochromatic
#601D84 #8428B6 #A345D6 #BC77E1 #D5A9EC

Accessibility & contrast

On white

4.79
#A345D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A345D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345D6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345D6#FFFFFF#000000##FFFFFF
##A345D61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#9D6388
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a345d6;
/* rgb */ color: rgb(163, 69, 214);
/* oklch */ color: oklch(58.0% 0.218 311.2);
Tailwind
colors: {
  custom: {
    50: '#c280e3',
    500: '#a345d6',
    950: '#000000',
  },
}
SCSS
$custom: #a345d6;
$custom-light: #c280e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a345d6",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 278.897,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.21802,
    "h": 311.2
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#A345D6
secondary
#B2DA9D
accent
#E7417B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345D6

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

Preview Lab → · Contrast checker → · Palette generator →

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