#A45ABB#A45ABB

#A45ABB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.2% C 0.160 H 317.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A45ABB
RGBrgb(164, 90, 187)
HSLhsl(286, 42%, 54%)
HSVhsv(286, 52%, 73%)
CMYKcmyk(12.3%, 51.9%, 0%, 26.7%)
CIE-LABlab(50.45, 46.03, -38.87)
CIE-LCHlch(50.45, 60.25, 319.82°)
OKLaboklab(59.2% 0.1186 -0.108)
OKLCHoklch(59.2% 0.16 317.7)
XYZxyz(27.9344, 18.7937, 49.1601)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ABB #71BB5A
analogous
#745ABB #A45ABB #BB5AA2
triadic
#A45ABB #BBA45A #5ABBA4
tetradic
#A45ABB #BB745A #71BB5A #5AA2BB
square
#A45ABB #BB745A #71BB5A #5AA2BB
split-complementary
#A45ABB #A2BB5A #5ABB74
monochromatic
#5E2D6D #843F99 #A45ABB #BC85CD #D4B1DF

Accessibility & contrast

On white

4.41
#A45ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A45ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ABB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ABB#FFFFFF#000000##000000
##A45ABB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#5E7AB8
Tritanopia (blue-blind)
#A46882
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45abb;
/* rgb */ color: rgb(164, 90, 187);
/* oklch */ color: oklch(59.2% 0.160 317.7);
Tailwind
colors: {
  custom: {
    50: '#c18bd0',
    500: '#a45abb',
    950: '#000000',
  },
}
SCSS
$custom: #a45abb;
$custom-light: #c18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45abb",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 285.773,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59202,
    "c": 0.16043,
    "h": 317.7
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#A45ABB
secondary
#AECDA4
accent
#D15674
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A45ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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