#A45FAC#A45FAC

#A45FAC is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.2% C 0.136 H 323.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A45FAC
RGBrgb(164, 95, 172)
HSLhsl(294, 32%, 52%)
HSVhsv(294, 45%, 67%)
CMYKcmyk(4.7%, 44.8%, 0%, 32.5%)
CIE-LABlab(50.75, 40.33, -29.67)
CIE-LCHlch(50.75, 50.07, 323.67°)
OKLaboklab(59.2% 0.1092 -0.0815)
OKLCHoklch(59.2% 0.136 323.3)
XYZxyz(26.8477, 19.0566, 41.2858)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FAC #67AC5F
analogous
#7D5FAC #A45FAC #AC5F8E
triadic
#A45FAC #ACA45F #5FACA4
tetradic
#A45FAC #AC7D5F #67AC5F #5F8EAC
square
#A45FAC #AC7D5F #67AC5F #5F8EAC
split-complementary
#A45FAC #8EAC5F #5FAC7D
monochromatic
#5A315F #814688 #A45FAC #BB87C1 #D2B0D6

Accessibility & contrast

On white

4.36
#A45FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A45FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FAC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FAC#FFFFFF#000000##000000
##A45FAC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#697CAA
Tritanopia (blue-blind)
#A6687D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45fac;
/* rgb */ color: rgb(164, 95, 172);
/* oklch */ color: oklch(59.2% 0.136 323.3);
Tailwind
colors: {
  custom: {
    50: '#c08ec5',
    500: '#a45fac',
    950: '#000000',
  },
}
SCSS
$custom: #a45fac;
$custom-light: #c08ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fac",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 293.766,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59197,
    "c": 0.13625,
    "h": 323.3
  },
  "luminance": 0.19055
}

Semantic roles & 50–950 ramp

primary
#A45FAC
secondary
#A6C4A3
accent
#C8606B
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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