#A345C8#A345C8

#A345C8 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.204 H 315.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A345C8
RGBrgb(163, 69, 200)
HSLhsl(283, 54%, 53%)
HSVhsv(283, 66%, 78%)
CMYKcmyk(18.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(47.25, 58.68, -51.47)
CIE-LCHlch(47.25, 78.06, 318.74°)
OKLaboklab(57.08% 0.1445 -0.1447)
OKLCHoklch(57.08% 0.204 315)
XYZxyz(27.6560, 16.2138, 56.3051)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345C8 #6AC845
analogous
#6145C8 #A345C8 #C845AC
triadic
#A345C8 #C8A345 #45C8A3
tetradic
#A345C8 #C86145 #6AC845 #45ACC8
square
#A345C8 #C86145 #6AC845 #45ACC8
split-complementary
#A345C8 #ACC845 #45C861
monochromatic
#5B2171 #802FA0 #A345C8 #BA74D6 #D2A3E4

Accessibility & contrast

On white

4.95
#A345C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A345C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345C8#FFFFFF#000000##FFFFFF
##A345C81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCC
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#A05E81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a345c8;
/* rgb */ color: rgb(163, 69, 200);
/* oklch */ color: oklch(57.1% 0.204 315.0);
Tailwind
colors: {
  custom: {
    50: '#c27fd9',
    500: '#a345c8',
    950: '#000000',
  },
}
SCSS
$custom: #a345c8;
$custom-light: #c27fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a345c8",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 283.053,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.20446,
    "h": 315
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#A345C8
secondary
#A8D198
accent
#DE4A74
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345C8

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

Preview Lab → · Contrast checker → · Palette generator →

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