#A45CB5#A45CB5

#A45CB5 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.2% C 0.151 H 319.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A45CB5
RGBrgb(164, 92, 181)
HSLhsl(289, 38%, 54%)
HSVhsv(289, 49%, 71%)
CMYKcmyk(9.4%, 49.2%, 0%, 29%)
CIE-LABlab(50.55, 43.75, -35.22)
CIE-LCHlch(50.55, 56.16, 321.16°)
OKLaboklab(59.18% 0.1151 -0.0975)
OKLCHoklch(59.18% 0.151 319.7)
XYZxyz(27.4764, 18.8840, 45.9047)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CB5 #6DB55C
analogous
#775CB5 #A45CB5 #B55C99
triadic
#A45CB5 #B5A45C #5CB5A4
tetradic
#A45CB5 #B5775C #6DB55C #5C99B5
square
#A45CB5 #B5775C #6DB55C #5C99B5
split-complementary
#A45CB5 #99B55C #5CB577
monochromatic
#5D2F68 #824292 #A45CB5 #BB86C8 #D3B0DB

Accessibility & contrast

On white

4.40
#A45CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A45CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CB5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CB5#FFFFFF#000000##000000
##A45CB51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B8
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#A56880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45cb5;
/* rgb */ color: rgb(164, 92, 181);
/* oklch */ color: oklch(59.2% 0.151 319.7);
Tailwind
colors: {
  custom: {
    50: '#c18dcb',
    500: '#a45cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a45cb5;
$custom-light: #c18dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cb5",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 288.539,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.1508,
    "h": 319.7
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A45CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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