#A345CB#A345CB

#A345CB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.3% C 0.207 H 314.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A345CB
RGBrgb(163, 69, 203)
HSLhsl(282, 56%, 53%)
HSVhsv(282, 66%, 80%)
CMYKcmyk(19.7%, 66%, 0%, 20.4%)
CIE-LABlab(47.44, 59.30, -52.91)
CIE-LCHlch(47.44, 79.47, 318.26°)
OKLaboklab(57.27% 0.1443 -0.1489)
OKLCHoklch(57.27% 0.207 314.1)
XYZxyz(28.0101, 16.3555, 58.1698)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A345CB #6DCB45
analogous
#6045CB #A345CB #CB45B0
triadic
#A345CB #CBA345 #45CBA3
tetradic
#A345CB #CB6045 #6DCB45 #45B0CB
square
#A345CB #CB6045 #6DCB45 #45B0CB
split-complementary
#A345CB #B0CB45 #45CB60
monochromatic
#5C2175 #812EA5 #A345CB #BB75D8 #D2A5E6

Accessibility & contrast

On white

4.92
#A345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A345CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A345CB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A345CB#FFFFFF#000000##FFFFFF
##A345CB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#9F5F82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a345cb;
/* rgb */ color: rgb(163, 69, 203);
/* oklch */ color: oklch(57.3% 0.207 314.1);
Tailwind
colors: {
  custom: {
    50: '#c27fdb',
    500: '#a345cb',
    950: '#000000',
  },
}
SCSS
$custom: #a345cb;
$custom-light: #c27fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a345cb",
  "rgb": {
    "r": 163,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 282.09,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.20735,
    "h": 314.1
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#A345CB
secondary
#AAD399
accent
#E04875
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A345CB

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

Preview Lab → · Contrast checker → · Palette generator →

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