#A45BC4#A45BC4

#A45BC4 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.8% C 0.168 H 314.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A45BC4
RGBrgb(164, 91, 196)
HSLhsl(282, 47%, 56%)
HSVhsv(282, 54%, 77%)
CMYKcmyk(16.3%, 53.6%, 0%, 23.1%)
CIE-LABlab(51.11, 47.40, -43.02)
CIE-LCHlch(51.11, 64.01, 317.78°)
OKLaboklab(59.84% 0.1181 -0.1201)
OKLCHoklch(59.84% 0.168 314.5)
XYZxyz(29.0131, 19.3610, 54.4226)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BC4 #7BC45B
analogous
#705BC4 #A45BC4 #C45BB0
triadic
#A45BC4 #C4A45B #5BC4A4
tetradic
#A45BC4 #C4705B #7BC45B #5BB0C4
square
#A45BC4 #C4705B #7BC45B #5BB0C4
split-complementary
#A45BC4 #B0C45B #5BC470
monochromatic
#612C79 #863CA6 #A45BC4 #BD88D4 #D6B5E4

Accessibility & contrast

On white

4.31
#A45BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A45BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BC4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BC4#FFFFFF#000000##000000
##A45BC41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176C7
Deuteranopia (green-blind)
#597CC1
Tritanopia (blue-blind)
#A26C87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45bc4;
/* rgb */ color: rgb(164, 91, 196);
/* oklch */ color: oklch(59.8% 0.168 314.5);
Tailwind
colors: {
  custom: {
    50: '#c18cd6',
    500: '#a45bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a45bc4;
$custom-light: #c18cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bc4",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 281.714,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.16845,
    "h": 314.5
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#A45BC4
secondary
#B5D3A8
accent
#D7517A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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