#A345DC#A345DC

#A345DC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.224 H 309.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A345DC
RGBrgb(163, 69, 220)
HSLhsl(277, 68%, 57%)
HSVhsv(277, 69%, 86%)
CMYKcmyk(25.9%, 68.6%, 0%, 13.7%)
CIE-LABlab(48.52, 62.87, -60.90)
CIE-LCHlch(48.52, 87.53, 315.91°)
OKLaboklab(58.4% 0.1429 -0.1723)
OKLCHoklch(58.4% 0.224 309.7)
XYZxyz(30.1481, 17.2107, 69.4301)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345DC #7EDC45
analogous
#5845DC #A345DC #DC45CA
triadic
#A345DC #DCA345 #45DCA3
tetradic
#A345DC #DC5845 #7EDC45 #45CADC
square
#A345DC #DC5845 #7EDC45 #45CADC
split-complementary
#A345DC #CADC45 #45DC58
monochromatic
#611A8C #8524C0 #A345DC #BC79E6 #D6ACEF

Accessibility & contrast

On white

4.73
#A345DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A345DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345DC#FFFFFF#000000##FFFFFF
##A345DC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#9B668C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a345dc;
/* rgb */ color: rgb(163, 69, 220);
/* oklch */ color: oklch(58.4% 0.224 309.7);
Tailwind
colors: {
  custom: {
    50: '#c380e8',
    500: '#a345dc',
    950: '#000000',
  },
}
SCSS
$custom: #a345dc;
$custom-light: #c380e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a345dc",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 277.351,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.22386,
    "h": 309.7
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#A345DC
secondary
#B7DDA0
accent
#EB3D7F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345DC

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

Preview Lab → · Contrast checker → · Palette generator →

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