#A45FA7#A45FA7

#A45FA7 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.0% C 0.131 H 325.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A45FA7
RGBrgb(164, 95, 167)
HSLhsl(298, 29%, 51%)
HSVhsv(298, 43%, 65%)
CMYKcmyk(1.8%, 43.1%, 0%, 34.5%)
CIE-LABlab(50.53, 39.36, -27.09)
CIE-LCHlch(50.53, 47.78, 325.46°)
OKLaboklab(58.96% 0.1082 -0.0741)
OKLCHoklch(58.96% 0.131 325.6)
XYZxyz(26.3765, 18.8681, 38.8043)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FA7 #62A75F
analogous
#805FA7 #A45FA7 #A75F86
triadic
#A45FA7 #A7A45F #5FA7A4
tetradic
#A45FA7 #A7805F #62A75F #5F86A7
square
#A45FA7 #A7805F #62A75F #5F86A7
split-complementary
#A45FA7 #86A75F #5FA780
monochromatic
#58325A #7F4782 #A45FA7 #BA86BD #D1AED2

Accessibility & contrast

On white

4.40
#A45FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A45FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FA7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FA7#FFFFFF#000000##000000
##A45FA71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#6B7BA5
Tritanopia (blue-blind)
#A7677B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45fa7;
/* rgb */ color: rgb(164, 95, 167);
/* oklch */ color: oklch(59.0% 0.131 325.6);
Tailwind
colors: {
  custom: {
    50: '#c08ec1',
    500: '#a45fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a45fa7;
$custom-light: #c08ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fa7",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 297.5,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5896,
    "c": 0.13116,
    "h": 325.6
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#A45FA7
secondary
#A2C1A1
accent
#C56267
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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