#A645A2#A645A2

#A645A2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.171 H 329.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A645A2
RGBrgb(166, 69, 162)
HSLhsl(302, 41%, 46%)
HSVhsv(302, 58%, 65%)
CMYKcmyk(0%, 58.4%, 2.4%, 34.9%)
CIE-LABlab(45.60, 52.16, -31.81)
CIE-LCHlch(45.60, 61.10, 328.62°)
OKLaboklab(55.29% 0.1467 -0.0874)
OKLCHoklch(55.29% 0.171 329.2)
XYZxyz(24.3753, 14.9735, 35.7817)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645A2 #45A649
analogous
#7945A6 #A645A2 #A64571
triadic
#A645A2 #A2A645 #45A2A6
tetradic
#A645A2 #A67945 #45A649 #4571A6
square
#A645A2 #A67945 #45A649 #4571A6
split-complementary
#A645A2 #71A645 #45A679
monochromatic
#50214E #7B3378 #A645A2 #C068BD #D293D0

Accessibility & contrast

On white

5.26
#A645A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A645A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645A2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645A2#FFFFFF#000000##FFFFFF
##A645A21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#AB4F6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a645a2;
/* rgb */ color: rgb(166, 69, 162);
/* oklch */ color: oklch(55.3% 0.171 329.2);
Tailwind
colors: {
  custom: {
    50: '#c37ebe',
    500: '#a645a2',
    950: '#000000',
  },
}
SCSS
$custom: #a645a2;
$custom-light: #c37ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#a645a2",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 302.474,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.1708,
    "h": 329.2
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#A645A2
secondary
#89BE8B
accent
#D15C57
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A645A2

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

Preview Lab → · Contrast checker → · Palette generator →

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