#A45BB1#A45BB1

#A45BB1 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 58.8% C 0.148 H 321.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A45BB1
RGBrgb(164, 91, 177)
HSLhsl(291, 36%, 53%)
HSVhsv(291, 49%, 69%)
CMYKcmyk(7.3%, 48.6%, 0%, 30.6%)
CIE-LABlab(50.16, 43.47, -33.51)
CIE-LCHlch(50.16, 54.89, 322.37°)
OKLaboklab(58.83% 0.1159 -0.0925)
OKLCHoklch(58.83% 0.148 321.4)
XYZxyz(26.9858, 18.5501, 43.7455)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BB1 #68B15B
analogous
#795BB1 #A45BB1 #B15B93
triadic
#A45BB1 #B1A45B #5BB1A4
tetradic
#A45BB1 #B1795B #68B15B #5B93B1
square
#A45BB1 #B1795B #68B15B #5B93B1
split-complementary
#A45BB1 #93B15B #5BB179
monochromatic
#5B2F63 #81438C #A45BB1 #BB84C5 #D2AED8

Accessibility & contrast

On white

4.46
#A45BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A45BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BB1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BB1#FFFFFF#000000##000000
##A45BB11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B4
Deuteranopia (green-blind)
#647AAF
Tritanopia (blue-blind)
#A6667E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a45bb1;
/* rgb */ color: rgb(164, 91, 177);
/* oklch */ color: oklch(58.8% 0.148 321.4);
Tailwind
colors: {
  custom: {
    50: '#c18cc8',
    500: '#a45bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a45bb1;
$custom-light: #c18cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bb1",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 290.93,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.14831,
    "h": 321.4
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#A45BB1
secondary
#A7C7A1
accent
#CC5C6D
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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