#A45FA2#A45FA2

#A45FA2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 58.7% C 0.126 H 328.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A45FA2
RGBrgb(164, 95, 162)
HSLhsl(302, 27%, 51%)
HSVhsv(302, 42%, 64%)
CMYKcmyk(0%, 42.1%, 1.2%, 35.7%)
CIE-LABlab(50.32, 38.40, -24.49)
CIE-LCHlch(50.32, 45.54, 327.48°)
OKLaboklab(58.73% 0.1071 -0.0667)
OKLCHoklch(58.73% 0.126 328.1)
XYZxyz(25.9232, 18.6868, 36.4169)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FA2 #5FA461
analogous
#835FA4 #A45FA2 #A45F7F
triadic
#A45FA2 #A2A45F #5FA2A4
tetradic
#A45FA2 #A4835F #5FA461 #5F7FA4
square
#A45FA2 #A4835F #5FA461 #5F7FA4
split-complementary
#A45FA2 #7FA45F #5FA483
monochromatic
#573256 #7E487D #A45FA2 #BA86B9 #D0ADCF

Accessibility & contrast

On white

4.43
#A45FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A45FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FA2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FA2#FFFFFF#000000##000000
##A45FA21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#A86579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45fa2;
/* rgb */ color: rgb(164, 95, 162);
/* oklch */ color: oklch(58.7% 0.126 328.1);
Tailwind
colors: {
  custom: {
    50: '#c08ebd',
    500: '#a45fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a45fa2;
$custom-light: #c08ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fa2",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 301.739,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.12619,
    "h": 328.1
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#A45FA2
secondary
#A0BFA1
accent
#C46764
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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