#A45FAF#A45FAF

#A45FAF is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.3% C 0.139 H 321.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A45FAF
RGBrgb(164, 95, 175)
HSLhsl(292, 33%, 53%)
HSVhsv(292, 46%, 69%)
CMYKcmyk(6.3%, 45.7%, 0%, 31.4%)
CIE-LABlab(50.89, 40.93, -31.20)
CIE-LCHlch(50.89, 51.47, 322.68°)
OKLaboklab(59.34% 0.1097 -0.0859)
OKLCHoklch(59.34% 0.139 321.9)
XYZxyz(27.1391, 19.1732, 42.8204)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FAF #6AAF5F
analogous
#7C5FAF #A45FAF #AF5F92
triadic
#A45FAF #AFA45F #5FAFA4
tetradic
#A45FAF #AF7C5F #6AAF5F #5F92AF
square
#A45FAF #AF7C5F #6AAF5F #5F92AF
split-complementary
#A45FAF #92AF5F #5FAF7C
monochromatic
#5C3162 #82468B #A45FAF #BB88C3 #D2B1D8

Accessibility & contrast

On white

4.34
#A45FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A45FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FAF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FAF#FFFFFF#000000##000000
##A45FAF1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#687CAD
Tritanopia (blue-blind)
#A6697F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45faf;
/* rgb */ color: rgb(164, 95, 175);
/* oklch */ color: oklch(59.3% 0.139 321.9);
Tailwind
colors: {
  custom: {
    50: '#c08ec7',
    500: '#a45faf',
    950: '#000000',
  },
}
SCSS
$custom: #a45faf;
$custom-light: #c08ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45faf",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 291.75,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.13937,
    "h": 321.9
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#A45FAF
secondary
#A8C6A4
accent
#C95E6D
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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