#A45BB2#A45BB2

#A45BB2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 58.9% C 0.149 H 321.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A45BB2
RGBrgb(164, 91, 178)
HSLhsl(290, 36%, 53%)
HSVhsv(290, 49%, 70%)
CMYKcmyk(7.9%, 48.9%, 0%, 30.2%)
CIE-LABlab(50.20, 43.67, -34.02)
CIE-LCHlch(50.20, 55.36, 322.08°)
OKLaboklab(58.88% 0.1161 -0.094)
OKLCHoklch(58.88% 0.149 321)
XYZxyz(27.0859, 18.5901, 44.2723)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BB2 #69B25B
analogous
#785BB2 #A45BB2 #B25B94
triadic
#A45BB2 #B2A45B #5BB2A4
tetradic
#A45BB2 #B2785B #69B25B #5B94B2
square
#A45BB2 #B2785B #69B25B #5B94B2
split-complementary
#A45BB2 #94B25B #5BB278
monochromatic
#5B2F64 #81428D #A45BB2 #BB85C6 #D2AED9

Accessibility & contrast

On white

4.45
#A45BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A45BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BB2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BB2#FFFFFF#000000##000000
##A45BB21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#A5667E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a45bb2;
/* rgb */ color: rgb(164, 91, 178);
/* oklch */ color: oklch(58.9% 0.149 321.0);
Tailwind
colors: {
  custom: {
    50: '#c18cc9',
    500: '#a45bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a45bb2;
$custom-light: #c18cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bb2",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 290.345,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.14934,
    "h": 321
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#A45BB2
secondary
#A8C7A2
accent
#CC5C6E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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