#A345E4#A345E4

#A345E4 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 59.0% C 0.232 H 307.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A345E4
RGBrgb(163, 69, 228)
HSLhsl(275, 75%, 58%)
HSVhsv(275, 70%, 89%)
CMYKcmyk(28.5%, 69.7%, 0%, 10.6%)
CIE-LABlab(49.06, 64.59, -64.57)
CIE-LCHlch(49.06, 91.33, 315.01°)
OKLaboklab(58.95% 0.1419 -0.1831)
OKLCHoklch(58.95% 0.232 307.8)
XYZxyz(31.2330, 17.6447, 75.1441)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345E4 #86E445
analogous
#5345E4 #A345E4 #E445D5
triadic
#A345E4 #E4A345 #45E4A3
tetradic
#A345E4 #E45345 #86E445 #45D5E4
square
#A345E4 #E45345 #86E445 #45D5E4
split-complementary
#A345E4 #D5E445 #45E453
monochromatic
#631698 #861ECE #A345E4 #BD7AEC #D8B0F4

Accessibility & contrast

On white

4.64
#A345E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A345E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A345E4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345E4#FFFFFF#000000##FFFFFF
##A345E41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#1875E1
Tritanopia (blue-blind)
#996990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a345e4;
/* rgb */ color: rgb(163, 69, 228);
/* oklch */ color: oklch(59.0% 0.232 307.8);
Tailwind
colors: {
  custom: {
    50: '#c380ed',
    500: '#a345e4',
    950: '#000000',
  },
}
SCSS
$custom: #a345e4;
$custom-light: #c380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a345e4",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 275.472,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.23166,
    "h": 307.8
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#A345E4
secondary
#BDE2A3
accent
#F13783
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345E4

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

Preview Lab → · Contrast checker → · Palette generator →

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