#A45BC5#A45BC5

#A45BC5 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.170 H 314.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A45BC5
RGBrgb(164, 91, 197)
HSLhsl(281, 48%, 56%)
HSVhsv(281, 54%, 77%)
CMYKcmyk(16.8%, 53.8%, 0%, 22.7%)
CIE-LABlab(51.16, 47.62, -43.51)
CIE-LCHlch(51.16, 64.50, 317.58°)
OKLaboklab(59.9% 0.1182 -0.1215)
OKLCHoklch(59.9% 0.17 314.2)
XYZxyz(29.1273, 19.4067, 55.0240)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BC5 #7CC55B
analogous
#6F5BC5 #A45BC5 #C55BB1
triadic
#A45BC5 #C5A45B #5BC5A4
tetradic
#A45BC5 #C56F5B #7CC55B #5BB1C5
square
#A45BC5 #C56F5B #7CC55B #5BB1C5
split-complementary
#A45BC5 #B1C55B #5BC56F
monochromatic
#622B7A #863BA8 #A45BC5 #BD88D5 #D6B5E5

Accessibility & contrast

On white

4.30
#A45BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A45BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BC5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BC5#FFFFFF#000000##000000
##A45BC51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176C9
Deuteranopia (green-blind)
#597CC2
Tritanopia (blue-blind)
#A16C87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45bc5;
/* rgb */ color: rgb(164, 91, 197);
/* oklch */ color: oklch(59.9% 0.170 314.2);
Tailwind
colors: {
  custom: {
    50: '#c18cd7',
    500: '#a45bc5',
    950: '#000000',
  },
}
SCSS
$custom: #a45bc5;
$custom-light: #c18cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bc5",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 281.321,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.16952,
    "h": 314.2
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#A45BC5
secondary
#B6D4A8
accent
#D7507A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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