#A645BE#A645BE

#A645BE is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.196 H 319.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A645BE
RGBrgb(166, 69, 190)
HSLhsl(288, 48%, 51%)
HSVhsv(288, 64%, 75%)
CMYKcmyk(12.6%, 63.7%, 0%, 25.5%)
CIE-LABlab(47.08, 57.37, -45.93)
CIE-LCHlch(47.08, 73.49, 321.32°)
OKLaboklab(56.85% 0.1484 -0.1283)
OKLCHoklch(56.85% 0.196 319.1)
XYZxyz(27.1471, 16.0821, 50.3794)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645BE #5DBE45
analogous
#6945BE #A645BE #BE4599
triadic
#A645BE #BEA645 #45BEA6
tetradic
#A645BE #BE6945 #5DBE45 #4599BE
square
#A645BE #BE6945 #5DBE45 #4599BE
split-complementary
#A645BE #99BE45 #45BE69
monochromatic
#582365 #803393 #A645BE #BC72CE #D1A0DE

Accessibility & contrast

On white

4.98
#A645BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A645BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645BE#FFFFFF#000000##FFFFFF
##A645BE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#A65A7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a645be;
/* rgb */ color: rgb(166, 69, 190);
/* oklch */ color: oklch(56.9% 0.196 319.1);
Tailwind
colors: {
  custom: {
    50: '#c47fd2',
    500: '#a645be',
    950: '#000000',
  },
}
SCSS
$custom: #a645be;
$custom-light: #c47fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a645be",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 288.099,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56852,
    "c": 0.19617,
    "h": 319.1
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#A645BE
secondary
#9FCA95
accent
#D8506B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A645BE

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

Preview Lab → · Contrast checker → · Palette generator →

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