#A645AF#A645AF

#A645AF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.182 H 324.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A645AF
RGBrgb(166, 69, 175)
HSLhsl(295, 43%, 48%)
HSVhsv(295, 61%, 69%)
CMYKcmyk(5.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(46.26, 54.51, -38.46)
CIE-LCHlch(46.26, 66.72, 324.80°)
OKLaboklab(55.99% 0.1479 -0.1066)
OKLCHoklch(55.99% 0.182 324.2)
XYZxyz(25.5912, 15.4598, 42.1852)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645AF #4EAF45
analogous
#7145AF #A645AF #AF4583
triadic
#A645AF #AFA645 #45AFA6
tetradic
#A645AF #AF7145 #4EAF45 #4583AF
square
#A645AF #AF7145 #4EAF45 #4583AF
split-complementary
#A645AF #83AF45 #45AF71
monochromatic
#532257 #7C3483 #A645AF #BE6CC5 #D198D6

Accessibility & contrast

On white

5.13
#A645AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A645AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645AF#FFFFFF#000000##FFFFFF
##A645AF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#5672AC
Tritanopia (blue-blind)
#A95474
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a645af;
/* rgb */ color: rgb(166, 69, 175);
/* oklch */ color: oklch(56.0% 0.182 324.2);
Tailwind
colors: {
  custom: {
    50: '#c37fc7',
    500: '#a645af',
    950: '#000000',
  },
}
SCSS
$custom: #a645af;
$custom-light: #c37fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a645af",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 294.906,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.18232,
    "h": 324.2
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#A645AF
secondary
#92C28D
accent
#D3555F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A645AF

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

Preview Lab → · Contrast checker → · Palette generator →

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