#A645C3#A645C3

#A645C3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.201 H 317.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A645C3
RGBrgb(166, 69, 195)
HSLhsl(286, 51%, 52%)
HSVhsv(286, 65%, 76%)
CMYKcmyk(14.9%, 64.6%, 0%, 23.5%)
CIE-LABlab(47.37, 58.36, -48.37)
CIE-LCHlch(47.37, 75.80, 320.35°)
OKLaboklab(57.16% 0.1483 -0.1355)
OKLCHoklch(57.16% 0.201 317.6)
XYZxyz(27.7029, 16.3045, 53.3070)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645C3 #62C345
analogous
#6745C3 #A645C3 #C345A1
triadic
#A645C3 #C3A645 #45C3A6
tetradic
#A645C3 #C36745 #62C345 #45A1C3
square
#A645C3 #C36745 #62C345 #45A1C3
split-complementary
#A645C3 #A1C345 #45C367
monochromatic
#5A236B #813199 #A645C3 #BC73D2 #D2A2E1

Accessibility & contrast

On white

4.93
#A645C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A645C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645C3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645C3#FFFFFF#000000##FFFFFF
##A645C31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC7
Deuteranopia (green-blind)
#4973C0
Tritanopia (blue-blind)
#A55C7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a645c3;
/* rgb */ color: rgb(166, 69, 195);
/* oklch */ color: oklch(57.2% 0.201 317.6);
Tailwind
colors: {
  custom: {
    50: '#c47fd6',
    500: '#a645c3',
    950: '#000000',
  },
}
SCSS
$custom: #a645c3;
$custom-light: #c47fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a645c3",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 286.19,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.20088,
    "h": 317.6
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#A645C3
secondary
#A3CE96
accent
#DB4D6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A645C3

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

Preview Lab → · Contrast checker → · Palette generator →

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