#A45BA2#A45BA2

#A45BA2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.1% C 0.133 H 328.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A45BA2
RGBrgb(164, 91, 162)
HSLhsl(302, 29%, 50%)
HSVhsv(302, 45%, 64%)
CMYKcmyk(0%, 44.5%, 1.2%, 35.7%)
CIE-LABlab(49.48, 40.55, -25.79)
CIE-LCHlch(49.48, 48.06, 327.55°)
OKLaboklab(58.1% 0.1132 -0.0704)
OKLCHoklch(58.1% 0.133 328.1)
XYZxyz(25.5721, 17.9846, 36.2998)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BA2 #5BA45D
analogous
#825BA4 #A45BA2 #A45B7D
triadic
#A45BA2 #A2A45B #5BA2A4
tetradic
#A45BA2 #A4825B #5BA45D #5B7DA4
square
#A45BA2 #A4825B #5BA45D #5B7DA4
split-complementary
#A45BA2 #7DA45B #5BA482
monochromatic
#552F54 #7D457B #A45BA2 #BA82B8 #D0AACF

Accessibility & contrast

On white

4.57
#A45BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A45BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BA2#FFFFFF#000000##000000
##A45BA21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#A86277
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a45ba2;
/* rgb */ color: rgb(164, 91, 162);
/* oklch */ color: oklch(58.1% 0.133 328.1);
Tailwind
colors: {
  custom: {
    50: '#c08cbd',
    500: '#a45ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ba2;
$custom-light: #c08cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ba2",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 301.644,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.13329,
    "h": 328.1
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#A45BA2
secondary
#9DBE9E
accent
#C56663
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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