#A45FA4#A45FA4

#A45FA4 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 58.8% C 0.128 H 327.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A45FA4
RGBrgb(164, 95, 164)
HSLhsl(300, 27%, 51%)
HSVhsv(300, 42%, 64%)
CMYKcmyk(0%, 42.1%, 0%, 35.7%)
CIE-LABlab(50.40, 38.78, -25.53)
CIE-LCHlch(50.40, 46.43, 326.64°)
OKLaboklab(58.82% 0.1076 -0.0697)
OKLCHoklch(58.82% 0.128 327.1)
XYZxyz(26.1024, 18.7585, 37.3606)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FA4 #5FA45F
analogous
#815FA4 #A45FA4 #A45F81
triadic
#A45FA4 #A4A45F #5FA4A4
tetradic
#A45FA4 #A4815F #5FA45F #5F81A4
square
#A45FA4 #A4815F #5FA45F #5F81A4
split-complementary
#A45FA4 #81A45F #5FA481
monochromatic
#573257 #7E487E #A45FA4 #BA86BA #D0ADD0

Accessibility & contrast

On white

4.42
#A45FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A45FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FA4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FA4#FFFFFF#000000##000000
##A45FA41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A6
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#A8667A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45fa4;
/* rgb */ color: rgb(164, 95, 164);
/* oklch */ color: oklch(58.8% 0.128 327.1);
Tailwind
colors: {
  custom: {
    50: '#c08ebf',
    500: '#a45fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a45fa4;
$custom-light: #c08ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fa4",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.12817,
    "h": 327.1
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#A45FA4
secondary
#A0BFA0
accent
#C46464
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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