#A345E0#A345E0

#A345E0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.228 H 308.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A345E0
RGBrgb(163, 69, 224)
HSLhsl(276, 71%, 57%)
HSVhsv(276, 69%, 88%)
CMYKcmyk(27.2%, 69.2%, 0%, 12.2%)
CIE-LABlab(48.79, 63.73, -62.74)
CIE-LCHlch(48.79, 89.43, 315.45°)
OKLaboklab(58.67% 0.1425 -0.1777)
OKLCHoklch(58.67% 0.228 308.7)
XYZxyz(30.6842, 17.4251, 72.2535)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345E0 #82E045
analogous
#5545E0 #A345E0 #E045D0
triadic
#A345E0 #E0A345 #45E0A3
tetradic
#A345E0 #E05545 #82E045 #45D0E0
square
#A345E0 #E05545 #82E045 #45D0E0
split-complementary
#A345E0 #D0E045 #45E055
monochromatic
#621892 #8621C7 #A345E0 #BD79E9 #D7AEF1

Accessibility & contrast

On white

4.68
#A345E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A345E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345E0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345E0#FFFFFF#000000##FFFFFF
##A345E01.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#2275DD
Tritanopia (blue-blind)
#9A678E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a345e0;
/* rgb */ color: rgb(163, 69, 224);
/* oklch */ color: oklch(58.7% 0.228 308.7);
Tailwind
colors: {
  custom: {
    50: '#c380eb',
    500: '#a345e0',
    950: '#000000',
  },
}
SCSS
$custom: #a345e0;
$custom-light: #c380eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a345e0",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 276.387,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.22776,
    "h": 308.7
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#A345E0
secondary
#BAE0A1
accent
#EE3A81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345E0

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

Preview Lab → · Contrast checker → · Palette generator →

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