#A345D8#A345D8

#A345D8 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.220 H 310.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A345D8
RGBrgb(163, 69, 216)
HSLhsl(278, 65%, 56%)
HSVhsv(278, 68%, 85%)
CMYKcmyk(24.5%, 68.1%, 0%, 15.3%)
CIE-LABlab(48.26, 62.02, -59.04)
CIE-LCHlch(48.26, 85.63, 316.41°)
OKLaboklab(58.12% 0.1433 -0.1668)
OKLCHoklch(58.12% 0.22 310.7)
XYZxyz(29.6247, 17.0013, 66.6734)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345D8 #7AD845
analogous
#5945D8 #A345D8 #D845C4
triadic
#A345D8 #D8A345 #45D8A3
tetradic
#A345D8 #D85945 #7AD845 #45C4D8
square
#A345D8 #D85945 #7AD845 #45C4D8
split-complementary
#A345D8 #C4D845 #45D859
monochromatic
#601C86 #8427B9 #A345D8 #BC78E3 #D5AAED

Accessibility & contrast

On white

4.77
#A345D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A345D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345D8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345D8#FFFFFF#000000##FFFFFF
##A345D81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#3074D5
Tritanopia (blue-blind)
#9C6489
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a345d8;
/* rgb */ color: rgb(163, 69, 216);
/* oklch */ color: oklch(58.1% 0.220 310.7);
Tailwind
colors: {
  custom: {
    50: '#c380e5',
    500: '#a345d8',
    950: '#000000',
  },
}
SCSS
$custom: #a345d8;
$custom-light: #c380e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a345d8",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 278.367,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58124,
    "c": 0.21997,
    "h": 310.7
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#A345D8
secondary
#B4DB9E
accent
#E8407C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345D8

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

Preview Lab → · Contrast checker → · Palette generator →

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