#A645CD#A645CD

#A645CD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.210 H 314.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A645CD
RGBrgb(166, 69, 205)
HSLhsl(283, 58%, 54%)
HSVhsv(283, 66%, 80%)
CMYKcmyk(19%, 66.3%, 0%, 19.6%)
CIE-LABlab(47.97, 60.37, -53.18)
CIE-LCHlch(47.97, 80.45, 318.62°)
OKLaboklab(57.78% 0.148 -0.1496)
OKLCHoklch(57.78% 0.21 314.7)
XYZxyz(28.8716, 16.7720, 59.4622)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645CD #6CCD45
analogous
#6245CD #A645CD #CD45B0
triadic
#A645CD #CDA645 #45CDA6
tetradic
#A645CD #CD6245 #6CCD45 #45B0CD
square
#A645CD #CD6245 #6CCD45 #45B0CD
split-complementary
#A645CD #B0CD45 #45CD62
monochromatic
#5E2077 #852DA8 #A645CD #BD75DA #D4A5E7

Accessibility & contrast

On white

4.82
#A645CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A645CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645CD#FFFFFF#000000##FFFFFF
##A645CD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a645cd;
/* rgb */ color: rgb(166, 69, 205);
/* oklch */ color: oklch(57.8% 0.210 314.7);
Tailwind
colors: {
  custom: {
    50: '#c480dd',
    500: '#a645cd',
    950: '#000000',
  },
}
SCSS
$custom: #a645cd;
$custom-light: #c480dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a645cd",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 282.794,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.21038,
    "h": 314.7
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#A645CD
secondary
#AAD49A
accent
#E14773
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A645CD

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

Preview Lab → · Contrast checker → · Palette generator →

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