#A345C1#A345C1

#A345C1 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.198 H 317.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A345C1
RGBrgb(163, 69, 193)
HSLhsl(285, 50%, 51%)
HSVhsv(285, 64%, 76%)
CMYKcmyk(15.5%, 64.2%, 0%, 24.3%)
CIE-LABlab(46.84, 57.26, -48.09)
CIE-LCHlch(46.84, 74.77, 319.97°)
OKLaboklab(56.64% 0.1447 -0.1347)
OKLCHoklch(56.64% 0.198 317)
XYZxyz(26.8566, 15.8941, 52.0949)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345C1 #63C145
analogous
#6545C1 #A345C1 #C145A1
triadic
#A345C1 #C1A345 #45C1A3
tetradic
#A345C1 #C16545 #63C145 #45A1C1
square
#A345C1 #C16545 #63C145 #45A1C1
split-complementary
#A345C1 #A1C145 #45C165
monochromatic
#582369 #7E3297 #A345C1 #BA73D0 #D0A1E0

Accessibility & contrast

On white

5.03
#A345C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A345C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345C1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345C1#FFFFFF#000000##FFFFFF
##A345C11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1869C5
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#A25B7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a345c1;
/* rgb */ color: rgb(163, 69, 193);
/* oklch */ color: oklch(56.6% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#c27fd4',
    500: '#a345c1',
    950: '#000000',
  },
}
SCSS
$custom: #a345c1;
$custom-light: #c27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a345c1",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 285.484,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.19773,
    "h": 317
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#A345C1
secondary
#A3CC96
accent
#DA4E70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A345C1

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

Preview Lab → · Contrast checker → · Palette generator →

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