#A45AA2#A45AA2

#A45AA2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.9% C 0.135 H 328.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A45AA2
RGBrgb(164, 90, 162)
HSLhsl(302, 29%, 50%)
HSVhsv(302, 45%, 64%)
CMYKcmyk(0%, 45.1%, 1.2%, 35.7%)
CIE-LABlab(49.27, 41.09, -26.11)
CIE-LCHlch(49.27, 48.68, 327.57°)
OKLaboklab(57.95% 0.1147 -0.0713)
OKLCHoklch(57.95% 0.135 328.1)
XYZxyz(25.4872, 17.8148, 36.2715)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AA2 #5AA45C
analogous
#815AA4 #A45AA2 #A45A7D
triadic
#A45AA2 #A2A45A #5AA2A4
tetradic
#A45AA2 #A4815A #5AA45C #5A7DA4
square
#A45AA2 #A4815A #5AA45C #5A7DA4
split-complementary
#A45AA2 #7DA45A #5AA481
monochromatic
#552F54 #7C447B #A45AA2 #BA81B8 #D0A9CF

Accessibility & contrast

On white

4.60
#A45AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A45AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A45AA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AA2#FFFFFF#000000##FFFFFF
##A45AA21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#6979A0
Tritanopia (blue-blind)
#A86176
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a45aa2;
/* rgb */ color: rgb(164, 90, 162);
/* oklch */ color: oklch(57.9% 0.135 328.1);
Tailwind
colors: {
  custom: {
    50: '#c18bbd',
    500: '#a45aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a45aa2;
$custom-light: #c18bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45aa2",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 301.622,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57947,
    "c": 0.13504,
    "h": 328.1
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#A45AA2
secondary
#9CBE9D
accent
#C56562
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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