#A45FAA#A45FAA

#A45FAA is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.1% C 0.134 H 324.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A45FAA
RGBrgb(164, 95, 170)
HSLhsl(295, 31%, 52%)
HSVhsv(295, 44%, 67%)
CMYKcmyk(3.5%, 44.1%, 0%, 33.3%)
CIE-LABlab(50.66, 39.94, -28.64)
CIE-LCHlch(50.66, 49.15, 324.36°)
OKLaboklab(59.1% 0.1088 -0.0786)
OKLCHoklch(59.1% 0.134 324.2)
XYZxyz(26.6571, 18.9804, 40.2818)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FAA #65AA5F
analogous
#7F5FAA #A45FAA #AA5F8B
triadic
#A45FAA #AAA45F #5FAAA4
tetradic
#A45FAA #AA7F5F #65AA5F #5F8BAA
square
#A45FAA #AA7F5F #65AA5F #5F8BAA
split-complementary
#A45FAA #8BAA5F #5FAA7F
monochromatic
#5A315D #804785 #A45FAA #BB87BF #D1AFD4

Accessibility & contrast

On white

4.38
#A45FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A45FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FAA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FAA#FFFFFF#000000##000000
##A45FAA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AD
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#A7677C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45faa;
/* rgb */ color: rgb(164, 95, 170);
/* oklch */ color: oklch(59.1% 0.134 324.2);
Tailwind
colors: {
  custom: {
    50: '#c08ec3',
    500: '#a45faa',
    950: '#000000',
  },
}
SCSS
$custom: #a45faa;
$custom-light: #c08ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45faa",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 295.2,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.1342,
    "h": 324.2
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#A45FAA
secondary
#A5C3A2
accent
#C76169
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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