#A641AF#A641AF

#A641AF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.188 H 324.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A641AF
RGBrgb(166, 65, 175)
HSLhsl(295, 46%, 47%)
HSVhsv(295, 63%, 69%)
CMYKcmyk(5.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(45.61, 56.29, -39.48)
CIE-LCHlch(45.61, 68.76, 324.95°)
OKLaboklab(55.52% 0.1528 -0.1096)
OKLCHoklch(55.52% 0.188 324.4)
XYZxyz(25.3534, 14.9842, 42.1059)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641AF #4AAF41
analogous
#6F41AF #A641AF #AF4181
triadic
#A641AF #AFA641 #41AFA6
tetradic
#A641AF #AF6F41 #4AAF41 #4181AF
square
#A641AF #AF6F41 #4AAF41 #4181AF
split-complementary
#A641AF #81AF41 #41AF6F
monochromatic
#512056 #7C3082 #A641AF #BF67C6 #D193D7

Accessibility & contrast

On white

5.25
#A641AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A641AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641AF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641AF#FFFFFF#000000##FFFFFF
##A641AF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#A95172
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a641af;
/* rgb */ color: rgb(166, 65, 175);
/* oklch */ color: oklch(55.5% 0.188 324.4);
Tailwind
colors: {
  custom: {
    50: '#c37cc7',
    500: '#a641af',
    950: '#000000',
  },
}
SCSS
$custom: #a641af;
$custom-light: #c37cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a641af",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 295.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5552,
    "c": 0.18802,
    "h": 324.4
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#A641AF
secondary
#8EC289
accent
#D5525D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641AF

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

Preview Lab → · Contrast checker → · Palette generator →

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