#A645CE#A645CE

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

Color values

HEX#A645CE
RGBrgb(166, 69, 206)
HSLhsl(282, 58%, 54%)
HSVhsv(282, 67%, 81%)
CMYKcmyk(19.4%, 66.5%, 0%, 19.2%)
CIE-LABlab(48.03, 60.57, -53.66)
CIE-LCHlch(48.03, 80.92, 318.47°)
OKLaboklab(57.84% 0.1479 -0.151)
OKLCHoklch(57.84% 0.211 314.4)
XYZxyz(28.9927, 16.8204, 60.1000)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645CE #6DCE45
analogous
#6245CE #A645CE #CE45B2
triadic
#A645CE #CEA645 #45CEA6
tetradic
#A645CE #CE6245 #6DCE45 #45B2CE
square
#A645CE #CE6245 #6DCE45 #45B2CE
split-complementary
#A645CE #B2CE45 #45CE62
monochromatic
#5F2079 #852DA9 #A645CE #BD75DB #D4A6E8

Accessibility & contrast

On white

4.81
#A645CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A645CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645CE#FFFFFF#000000##FFFFFF
##A645CE1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#4074CB
Tritanopia (blue-blind)
#A36084
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a645ce;
/* rgb */ color: rgb(166, 69, 206);
/* oklch */ color: oklch(57.8% 0.211 314.4);
Tailwind
colors: {
  custom: {
    50: '#c480de',
    500: '#a645ce',
    950: '#000000',
  },
}
SCSS
$custom: #a645ce;
$custom-light: #c480de;
$custom-dark: #000000;
JSON
{
  "hex": "#a645ce",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 282.482,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.21134,
    "h": 314.4
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#A645CE
secondary
#ABD59A
accent
#E24674
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A645CE

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

Preview Lab → · Contrast checker → · Palette generator →

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