#A345E2#A345E2

#A345E2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.230 H 308.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A345E2
RGBrgb(163, 69, 226)
HSLhsl(276, 73%, 58%)
HSVhsv(276, 69%, 89%)
CMYKcmyk(27.9%, 69.5%, 0%, 11.4%)
CIE-LABlab(48.93, 64.16, -63.65)
CIE-LCHlch(48.93, 90.38, 315.23°)
OKLaboklab(58.81% 0.1422 -0.1804)
OKLCHoklch(58.81% 0.23 308.2)
XYZxyz(30.9570, 17.5342, 73.6904)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345E2 #84E245
analogous
#5545E2 #A345E2 #E245D2
triadic
#A345E2 #E2A345 #45E2A3
tetradic
#A345E2 #E25545 #84E245 #45D2E2
square
#A345E2 #E25545 #84E245 #45D2E2
split-complementary
#A345E2 #D2E245 #45E255
monochromatic
#631795 #8620CA #A345E2 #BD7AEA #D7AFF3

Accessibility & contrast

On white

4.66
#A345E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A345E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A345E2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345E2#FFFFFF#000000##FFFFFF
##A345E21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#99688F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a345e2;
/* rgb */ color: rgb(163, 69, 226);
/* oklch */ color: oklch(58.8% 0.230 308.2);
Tailwind
colors: {
  custom: {
    50: '#c380ec',
    500: '#a345e2',
    950: '#000000',
  },
}
SCSS
$custom: #a345e2;
$custom-light: #c380ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a345e2",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 275.924,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.22971,
    "h": 308.2
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#A345E2
secondary
#BBE1A2
accent
#F03882
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A345E2

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

Preview Lab → · Contrast checker → · Palette generator →

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