#A645C0#A645C0

#A645C0 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.198 H 318.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A645C0
RGBrgb(166, 69, 192)
HSLhsl(287, 49%, 51%)
HSVhsv(287, 64%, 75%)
CMYKcmyk(13.5%, 64.1%, 0%, 24.7%)
CIE-LABlab(47.20, 57.77, -46.91)
CIE-LCHlch(47.20, 74.41, 320.92°)
OKLaboklab(56.97% 0.1484 -0.1312)
OKLCHoklch(56.97% 0.198 318.5)
XYZxyz(27.3671, 16.1702, 51.5385)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645C0 #5FC045
analogous
#6845C0 #A645C0 #C0459C
triadic
#A645C0 #C0A645 #45C0A6
tetradic
#A645C0 #C06845 #5FC045 #459CC0
square
#A645C0 #C06845 #5FC045 #459CC0
split-complementary
#A645C0 #9CC045 #45C068
monochromatic
#592368 #803395 #A645C0 #BC73CF #D2A0DF

Accessibility & contrast

On white

4.96
#A645C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A645C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645C0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645C0#FFFFFF#000000##FFFFFF
##A645C01.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a645c0;
/* rgb */ color: rgb(166, 69, 192);
/* oklch */ color: oklch(57.0% 0.198 318.5);
Tailwind
colors: {
  custom: {
    50: '#c47fd3',
    500: '#a645c0',
    950: '#000000',
  },
}
SCSS
$custom: #a645c0;
$custom-light: #c47fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a645c0",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 287.317,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56973,
    "c": 0.19806,
    "h": 318.5
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#A645C0
secondary
#A1CC95
accent
#D94F6C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A645C0

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

Preview Lab → · Contrast checker → · Palette generator →

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