#A621AF#A621AF

#A621AF is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.224 H 325.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A621AF
RGBrgb(166, 33, 175)
HSLhsl(296, 68%, 41%)
HSVhsv(296, 81%, 69%)
CMYKcmyk(5.1%, 81.1%, 0%, 31.4%)
CIE-LABlab(41.68, 67.46, -45.75)
CIE-LCHlch(41.68, 81.51, 325.85°)
OKLaboklab(52.7% 0.1837 -0.1276)
OKLCHoklch(52.7% 0.224 325.2)
XYZxyz(24.0070, 12.2915, 41.6572)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A621AF #2AAF21
analogous
#5F21AF #A621AF #AF2171
triadic
#A621AF #AFA621 #21AFA6
tetradic
#A621AF #AF5F21 #2AAF21 #2171AF
square
#A621AF #AF5F21 #2AAF21 #2171AF
split-complementary
#A621AF #71AF21 #21AF5F
monochromatic
#440E48 #75177C #A621AF #CE34D9 #DB68E3

Accessibility & contrast

On white

6.07
#A621AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A621AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A621AF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A621AF#FFFFFF#000000##FFFFFF
##A621AF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#AA3E69
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a621af;
/* rgb */ color: rgb(166, 33, 175);
/* oklch */ color: oklch(52.7% 0.224 325.2);
Tailwind
colors: {
  custom: {
    50: '#c56ec7',
    500: '#a621af',
    950: '#000000',
  },
}
SCSS
$custom: #a621af;
$custom-light: #c56ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#a621af",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 296.197,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.527,
    "c": 0.22363,
    "h": 325.2
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#A621AF
secondary
#6AC864
accent
#EB3D48
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A621AF

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

Preview Lab → · Contrast checker → · Palette generator →

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