#A645CF#A645CF

#A645CF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.212 H 314.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A645CF
RGBrgb(166, 69, 207)
HSLhsl(282, 59%, 54%)
HSVhsv(282, 67%, 81%)
CMYKcmyk(19.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(48.09, 60.78, -54.13)
CIE-LCHlch(48.09, 81.39, 318.31°)
OKLaboklab(57.91% 0.1478 -0.1524)
OKLCHoklch(57.91% 0.212 314.1)
XYZxyz(29.1146, 16.8692, 60.7418)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645CF #6ECF45
analogous
#6145CF #A645CF #CF45B3
triadic
#A645CF #CFA645 #45CFA6
tetradic
#A645CF #CF6145 #6ECF45 #45B3CF
square
#A645CF #CF6145 #6ECF45 #45B3CF
split-complementary
#A645CF #B3CF45 #45CF61
monochromatic
#5F207A #852CAB #A645CF #BD76DC #D5A6E8

Accessibility & contrast

On white

4.80
#A645CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A645CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645CF#FFFFFF#000000##FFFFFF
##A645CF1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#A26084
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a645cf;
/* rgb */ color: rgb(166, 69, 207);
/* oklch */ color: oklch(57.9% 0.212 314.1);
Tailwind
colors: {
  custom: {
    50: '#c480de',
    500: '#a645cf',
    950: '#000000',
  },
}
SCSS
$custom: #a645cf;
$custom-light: #c480de;
$custom-dark: #000000;
JSON
{
  "hex": "#a645cf",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 282.174,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.21229,
    "h": 314.1
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A645CF

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

Preview Lab → · Contrast checker → · Palette generator →

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