#A645BC#A645BC

#A645BC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.194 H 319.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A645BC
RGBrgb(166, 69, 188)
HSLhsl(289, 47%, 50%)
HSVhsv(289, 63%, 74%)
CMYKcmyk(11.7%, 63.3%, 0%, 26.3%)
CIE-LABlab(46.97, 56.98, -44.94)
CIE-LCHlch(46.97, 72.58, 321.74°)
OKLaboklab(56.73% 0.1484 -0.1255)
OKLCHoklch(56.73% 0.194 319.8)
XYZxyz(26.9300, 15.9953, 49.2361)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645BC #5BBC45
analogous
#6B45BC #A645BC #BC4596
triadic
#A645BC #BCA645 #45BCA6
tetradic
#A645BC #BC6B45 #5BBC45 #4596BC
square
#A645BC #BC6B45 #5BBC45 #4596BC
split-complementary
#A645BC #96BC45 #45BC6B
monochromatic
#572463 #7F3490 #A645BC #BC72CC #D19FDC

Accessibility & contrast

On white

5.00
#A645BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A645BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645BC#FFFFFF#000000##FFFFFF
##A645BC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#A7597A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a645bc;
/* rgb */ color: rgb(166, 69, 188);
/* oklch */ color: oklch(56.7% 0.194 319.8);
Tailwind
colors: {
  custom: {
    50: '#c37fd1',
    500: '#a645bc',
    950: '#000000',
  },
}
SCSS
$custom: #a645bc;
$custom-light: #c37fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a645bc",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 288.908,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.1943,
    "h": 319.8
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#A645BC
secondary
#9EC994
accent
#D7516A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A645BC

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

Preview Lab → · Contrast checker → · Palette generator →

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