#A45DB5#A45DB5

#A45DB5 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.3% C 0.149 H 319.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A45DB5
RGBrgb(164, 93, 181)
HSLhsl(288, 37%, 54%)
HSVhsv(288, 49%, 71%)
CMYKcmyk(9.4%, 48.6%, 0%, 29%)
CIE-LABlab(50.76, 43.22, -34.90)
CIE-LCHlch(50.76, 55.55, 321.07°)
OKLaboklab(59.34% 0.1136 -0.0965)
OKLCHoklch(59.34% 0.149 319.6)
XYZxyz(27.5636, 19.0584, 45.9338)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DB5 #6EB55D
analogous
#785DB5 #A45DB5 #B55D9A
triadic
#A45DB5 #B5A45D #5DB5A4
tetradic
#A45DB5 #B5785D #6EB55D #5D9AB5
square
#A45DB5 #B5785D #6EB55D #5D9AB5
split-complementary
#A45DB5 #9AB55D #5DB578
monochromatic
#5D3068 #834392 #A45DB5 #BC87C8 #D3B1DB

Accessibility & contrast

On white

4.36
#A45DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A45DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DB5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DB5#FFFFFF#000000##000000
##A45DB51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#637BB3
Tritanopia (blue-blind)
#A56981
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45db5;
/* rgb */ color: rgb(164, 93, 181);
/* oklch */ color: oklch(59.3% 0.149 319.6);
Tailwind
colors: {
  custom: {
    50: '#c18dcb',
    500: '#a45db5',
    950: '#000000',
  },
}
SCSS
$custom: #a45db5;
$custom-light: #c18dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45db5",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 288.409,
    "s": 37.288,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.1491,
    "h": 319.6
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#A45DB5
secondary
#ABCAA4
accent
#CD5B71
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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