#A45ABC#A45ABC

#A45ABC is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.3% C 0.162 H 317.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A45ABC
RGBrgb(164, 90, 188)
HSLhsl(285, 42%, 55%)
HSVhsv(285, 52%, 74%)
CMYKcmyk(12.8%, 52.1%, 0%, 26.3%)
CIE-LABlab(50.50, 46.24, -39.37)
CIE-LCHlch(50.50, 60.73, 319.59°)
OKLaboklab(59.26% 0.1187 -0.1095)
OKLCHoklch(59.26% 0.162 317.3)
XYZxyz(28.0418, 18.8366, 49.7259)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ABC #72BC5A
analogous
#735ABC #A45ABC #BC5AA3
triadic
#A45ABC #BCA45A #5ABCA4
tetradic
#A45ABC #BC735A #72BC5A #5AA3BC
square
#A45ABC #BC735A #72BC5A #5AA3BC
split-complementary
#A45ABC #A3BC5A #5ABC73
monochromatic
#5F2D6F #843F9A #A45ABC #BC86CE #D4B1DF

Accessibility & contrast

On white

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

On black

4.77
#A45ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ABC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ABC#FFFFFF#000000##000000
##A45ABC1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#5D7BB9
Tritanopia (blue-blind)
#A36983
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45abc;
/* rgb */ color: rgb(164, 90, 188);
/* oklch */ color: oklch(59.3% 0.162 317.3);
Tailwind
colors: {
  custom: {
    50: '#c18bd0',
    500: '#a45abc',
    950: '#000000',
  },
}
SCSS
$custom: #a45abc;
$custom-light: #c18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45abc",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 285.306,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.1615,
    "h": 317.3
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#A45ABC
secondary
#AECEA4
accent
#D25674
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A45ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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