#A645CC#A645CC

#A645CC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.209 H 315.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A645CC
RGBrgb(166, 69, 204)
HSLhsl(283, 57%, 54%)
HSVhsv(283, 66%, 80%)
CMYKcmyk(18.6%, 66.2%, 0%, 20%)
CIE-LABlab(47.91, 60.17, -52.70)
CIE-LCHlch(47.91, 79.99, 318.78°)
OKLaboklab(57.72% 0.148 -0.1482)
OKLCHoklch(57.72% 0.209 315)
XYZxyz(28.7513, 16.7239, 58.8285)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645CC #6BCC45
analogous
#6245CC #A645CC #CC45AE
triadic
#A645CC #CCA645 #45CCA6
tetradic
#A645CC #CC6245 #6BCC45 #45AECC
square
#A645CC #CC6245 #6BCC45 #45AECC
split-complementary
#A645CC #AECC45 #45CC62
monochromatic
#5E2076 #842EA6 #A645CC #BD75D9 #D4A5E6

Accessibility & contrast

On white

4.83
#A645CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A645CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645CC#FFFFFF#000000##FFFFFF
##A645CC1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#A35F83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a645cc;
/* rgb */ color: rgb(166, 69, 204);
/* oklch */ color: oklch(57.7% 0.209 315.0);
Tailwind
colors: {
  custom: {
    50: '#c480dc',
    500: '#a645cc',
    950: '#000000',
  },
}
SCSS
$custom: #a645cc;
$custom-light: #c480dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a645cc",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 283.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.20942,
    "h": 315
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#A645CC
secondary
#AAD399
accent
#E04873
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A645CC

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

Preview Lab → · Contrast checker → · Palette generator →

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