#A345DA#A345DA

#A345DA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.222 H 310.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A345DA
RGBrgb(163, 69, 218)
HSLhsl(278, 67%, 56%)
HSVhsv(278, 68%, 85%)
CMYKcmyk(25.2%, 68.3%, 0%, 14.5%)
CIE-LABlab(48.39, 62.44, -59.97)
CIE-LCHlch(48.39, 86.58, 316.16°)
OKLaboklab(58.26% 0.1431 -0.1696)
OKLCHoklch(58.26% 0.222 310.2)
XYZxyz(29.8848, 17.1054, 68.0434)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345DA #7CDA45
analogous
#5945DA #A345DA #DA45C7
triadic
#A345DA #DAA345 #45DAA3
tetradic
#A345DA #DA5945 #7CDA45 #45C7DA
square
#A345DA #DA5945 #7CDA45 #45C7DA
split-complementary
#A345DA #C7DA45 #45DA59
monochromatic
#611B89 #8525BC #A345DA #BC78E4 #D5ABEE

Accessibility & contrast

On white

4.75
#A345DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A345DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345DA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345DA#FFFFFF#000000##FFFFFF
##A345DA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2D74D7
Tritanopia (blue-blind)
#9B658A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a345da;
/* rgb */ color: rgb(163, 69, 218);
/* oklch */ color: oklch(58.3% 0.222 310.2);
Tailwind
colors: {
  custom: {
    50: '#c380e6',
    500: '#a345da',
    950: '#000000',
  },
}
SCSS
$custom: #a345da;
$custom-light: #c380e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a345da",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 277.852,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.22192,
    "h": 310.2
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#A345DA
secondary
#B5DC9F
accent
#EA3E7D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345DA

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

Preview Lab → · Contrast checker → · Palette generator →

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