#A421A6#A421A6

#A421A6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.216 H 327.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A421A6
RGBrgb(164, 33, 166)
HSLhsl(299, 67%, 39%)
HSVhsv(299, 80%, 65%)
CMYKcmyk(1.2%, 80.1%, 0%, 34.9%)
CIE-LABlab(40.79, 65.59, -41.82)
CIE-LCHlch(40.79, 77.79, 327.48°)
OKLaboklab(51.84% 0.1821 -0.1162)
OKLCHoklch(51.84% 0.216 327.5)
XYZxyz(22.7363, 11.7351, 37.1366)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421A6 #23A621
analogous
#6221A6 #A421A6 #A62166
triadic
#A421A6 #A6A421 #21A6A4
tetradic
#A421A6 #A66221 #23A621 #2166A6
square
#A421A6 #A66221 #23A621 #2166A6
split-complementary
#A421A6 #66A621 #21A662
monochromatic
#3F0D40 #721773 #A421A6 #D32FD6 #DE62E0

Accessibility & contrast

On white

6.28
#A421A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A421A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421A6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421A6#FFFFFF#000000##FFFFFF
##A421A61.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#A93964
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a421a6;
/* rgb */ color: rgb(164, 33, 166);
/* oklch */ color: oklch(51.8% 0.216 327.5);
Tailwind
colors: {
  custom: {
    50: '#c36ec1',
    500: '#a421a6',
    950: '#000000',
  },
}
SCSS
$custom: #a421a6;
$custom-light: #c36ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a421a6",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 299.098,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.21603,
    "h": 327.5
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#A421A6
secondary
#60C55E
accent
#EA3E41
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A421A6

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

Preview Lab → · Contrast checker → · Palette generator →

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