#A645AC#A645AC

#A645AC is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.180 H 325.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A645AC
RGBrgb(166, 69, 172)
HSLhsl(297, 43%, 47%)
HSVhsv(297, 60%, 67%)
CMYKcmyk(3.5%, 59.9%, 0%, 32.5%)
CIE-LABlab(46.10, 53.96, -36.94)
CIE-LCHlch(46.10, 65.39, 325.60°)
OKLaboklab(55.82% 0.1477 -0.1022)
OKLCHoklch(55.82% 0.18 325.3)
XYZxyz(25.2998, 15.3433, 40.6507)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645AC #4BAC45
analogous
#7345AC #A645AC #AC457F
triadic
#A645AC #ACA645 #45ACA6
tetradic
#A645AC #AC7345 #4BAC45 #457FAC
square
#A645AC #AC7345 #4BAC45 #457FAC
split-complementary
#A645AC #7FAC45 #45AC73
monochromatic
#522255 #7C3380 #A645AC #BE6BC4 #D196D5

Accessibility & contrast

On white

5.16
#A645AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A645AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645AC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645AC#FFFFFF#000000##FFFFFF
##A645AC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#AA5372
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a645ac;
/* rgb */ color: rgb(166, 69, 172);
/* oklch */ color: oklch(55.8% 0.180 325.3);
Tailwind
colors: {
  custom: {
    50: '#c37fc5',
    500: '#a645ac',
    950: '#000000',
  },
}
SCSS
$custom: #a645ac;
$custom-light: #c37fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a645ac",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 296.505,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55823,
    "c": 0.17961,
    "h": 325.3
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#A645AC
secondary
#8FC18C
accent
#D3555D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A645AC

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

Preview Lab → · Contrast checker → · Palette generator →

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