#A15FAC#A15FAC

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

Color values

HEX#A15FAC
RGBrgb(161, 95, 172)
HSLhsl(291, 32%, 52%)
HSVhsv(291, 45%, 67%)
CMYKcmyk(6.4%, 44.8%, 0%, 32.5%)
CIE-LABlab(50.38, 39.42, -30.27)
CIE-LCHlch(50.38, 49.70, 322.48°)
OKLaboklab(58.84% 0.1056 -0.0833)
OKLCHoklch(58.84% 0.134 321.7)
XYZxyz(26.2357, 18.7411, 41.2571)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FAC #6AAC5F
analogous
#7B5FAC #A15FAC #AC5F90
triadic
#A15FAC #ACA15F #5FACA1
tetradic
#A15FAC #AC7B5F #6AAC5F #5F90AC
square
#A15FAC #AC7B5F #6AAC5F #5F90AC
split-complementary
#A15FAC #90AC5F #5FAC7B
monochromatic
#59315F #7E4688 #A15FAC #B987C1 #D0B0D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A15FAC#FFFFFF#000000##000000
##A15FAC1.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)
#5573AF
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#A3687D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a15fac;
/* rgb */ color: rgb(161, 95, 172);
/* oklch */ color: oklch(58.8% 0.134 321.7);
Tailwind
colors: {
  custom: {
    50: '#be8ec5',
    500: '#a15fac',
    950: '#000000',
  },
}
SCSS
$custom: #a15fac;
$custom-light: #be8ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fac",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 291.429,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.13447,
    "h": 321.7
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#A15FAC
secondary
#A7C4A3
accent
#C8606F
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A15FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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