#A400A5#A400A5

#A400A5 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.5% C 0.232 H 328.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A400A5
RGBrgb(164, 0, 165)
HSLhsl(300, 100%, 32%)
HSVhsv(300, 100%, 65%)
CMYKcmyk(0.6%, 100%, 0%, 35.3%)
CIE-LABlab(38.92, 70.75, -44.22)
CIE-LCHlch(38.92, 83.43, 328.00°)
OKLaboklab(50.49% 0.1972 -0.123)
OKLCHoklch(50.49% 0.232 328)
XYZxyz(22.1011, 10.6109, 36.4741)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A400A5 #01A500
analogous
#5100A5 #A400A5 #A50054
triadic
#A400A5 #A5A400 #00A5A4
tetradic
#A400A5 #A55100 #01A500 #0054A5
square
#A400A5 #A55100 #01A500 #0054A5
split-complementary
#A400A5 #54A500 #00A551
monochromatic
#2A002B #670068 #A400A5 #E100E2 #FE20FF

Accessibility & contrast

On white

6.73
#A400A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A400A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A400A5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A400A5#FFFFFF#000000##FFFFFF
##A400A51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#A92D60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a400a5;
/* rgb */ color: rgb(164, 0, 165);
/* oklch */ color: oklch(50.5% 0.232 328.0);
Tailwind
colors: {
  custom: {
    50: '#c467c0',
    500: '#a400a5',
    950: '#000000',
  },
}
SCSS
$custom: #a400a5;
$custom-light: #c467c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a400a5",
  "rgb": {
    "r": 164,
    "g": 0,
    "b": 165
  },
  "hsl": {
    "h": 299.636,
    "s": 100,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.23245,
    "h": 328
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#A400A5
secondary
#29D928
accent
#FF292A
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #A400A5

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

Preview Lab → · Contrast checker → · Palette generator →

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