#A645BF#A645BF

#A645BF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.197 H 318.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A645BF
RGBrgb(166, 69, 191)
HSLhsl(288, 49%, 51%)
HSVhsv(288, 64%, 75%)
CMYKcmyk(13.1%, 63.9%, 0%, 25.1%)
CIE-LABlab(47.14, 57.57, -46.42)
CIE-LCHlch(47.14, 73.95, 321.12°)
OKLaboklab(56.91% 0.1484 -0.1298)
OKLCHoklch(56.91% 0.197 318.8)
XYZxyz(27.2567, 16.1260, 50.9570)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645BF #5EBF45
analogous
#6945BF #A645BF #BF459B
triadic
#A645BF #BFA645 #45BFA6
tetradic
#A645BF #BF6945 #5EBF45 #459BBF
square
#A645BF #BF6945 #5EBF45 #459BBF
split-complementary
#A645BF #9BBF45 #45BF69
monochromatic
#592366 #803394 #A645BF #BC73CF #D2A0DE

Accessibility & contrast

On white

4.97
#A645BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A645BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645BF#FFFFFF#000000##FFFFFF
##A645BF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#A65A7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a645bf;
/* rgb */ color: rgb(166, 69, 191);
/* oklch */ color: oklch(56.9% 0.197 318.8);
Tailwind
colors: {
  custom: {
    50: '#c47fd3',
    500: '#a645bf',
    950: '#000000',
  },
}
SCSS
$custom: #a645bf;
$custom-light: #c47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a645bf",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 287.705,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.19711,
    "h": 318.8
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#A645BF
secondary
#A0CB95
accent
#D84F6B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A645BF

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

Preview Lab → · Contrast checker → · Palette generator →

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