#A645B3#A645B3

#A645B3 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.186 H 322.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A645B3
RGBrgb(166, 69, 179)
HSLhsl(293, 44%, 49%)
HSVhsv(293, 61%, 70%)
CMYKcmyk(7.3%, 61.5%, 0%, 29.8%)
CIE-LABlab(46.47, 55.26, -40.47)
CIE-LCHlch(46.47, 68.50, 323.78°)
OKLaboklab(56.21% 0.1481 -0.1125)
OKLCHoklch(56.21% 0.186 322.8)
XYZxyz(25.9899, 15.6193, 44.2849)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645B3 #52B345
analogous
#6F45B3 #A645B3 #B34589
triadic
#A645B3 #B3A645 #45B3A6
tetradic
#A645B3 #B36F45 #52B345 #4589B3
square
#A645B3 #B36F45 #52B345 #4589B3
split-complementary
#A645B3 #89B345 #45B36F
monochromatic
#54235B #7D3487 #A645B3 #BD6EC7 #D19AD8

Accessibility & contrast

On white

5.09
#A645B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A645B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645B3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645B3#FFFFFF#000000##FFFFFF
##A645B31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#A85676
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a645b3;
/* rgb */ color: rgb(166, 69, 179);
/* oklch */ color: oklch(56.2% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#c37fca',
    500: '#a645b3',
    950: '#000000',
  },
}
SCSS
$custom: #a645b3;
$custom-light: #c37fca;
$custom-dark: #000000;
JSON
{
  "hex": "#a645b3",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 292.909,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.18597,
    "h": 322.8
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#A645B3
secondary
#96C48F
accent
#D45463
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A645B3

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

Preview Lab → · Contrast checker → · Palette generator →

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