#A45BB5#A45BB5

#A45BB5 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.0% C 0.152 H 319.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A45BB5
RGBrgb(164, 91, 181)
HSLhsl(289, 38%, 53%)
HSVhsv(289, 50%, 71%)
CMYKcmyk(9.4%, 49.7%, 0%, 29%)
CIE-LABlab(50.35, 44.28, -35.54)
CIE-LCHlch(50.35, 56.78, 321.24°)
OKLaboklab(59.03% 0.1165 -0.0984)
OKLCHoklch(59.03% 0.152 319.8)
XYZxyz(27.3904, 18.7119, 45.8761)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BB5 #6CB55B
analogous
#775BB5 #A45BB5 #B55B99
triadic
#A45BB5 #B5A45B #5BB5A4
tetradic
#A45BB5 #B5775B #6CB55B #5B99B5
square
#A45BB5 #B5775B #6CB55B #5B99B5
split-complementary
#A45BB5 #99B55B #5BB577
monochromatic
#5C2F67 #824291 #A45BB5 #BB85C8 #D3AFDB

Accessibility & contrast

On white

4.43
#A45BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A45BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BB5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BB5#FFFFFF#000000##000000
##A45BB51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#627AB2
Tritanopia (blue-blind)
#A56780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45bb5;
/* rgb */ color: rgb(164, 91, 181);
/* oklch */ color: oklch(59.0% 0.152 319.8);
Tailwind
colors: {
  custom: {
    50: '#c18ccb',
    500: '#a45bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a45bb5;
$custom-light: #c18ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bb5",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 288.667,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.15247,
    "h": 319.8
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#A45BB5
secondary
#AAC9A3
accent
#CE5A70
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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