#A451AF#A451AF

#A451AF is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.163 H 322.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A451AF
RGBrgb(164, 81, 175)
HSLhsl(293, 37%, 50%)
HSVhsv(293, 54%, 69%)
CMYKcmyk(6.3%, 53.7%, 0%, 31.4%)
CIE-LABlab(48.10, 48.23, -35.57)
CIE-LCHlch(48.10, 59.93, 323.59°)
OKLaboklab(57.28% 0.1297 -0.0984)
OKLCHoklch(57.28% 0.163 322.8)
XYZxyz(25.9894, 16.8738, 42.4371)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451AF #5CAF51
analogous
#7551AF #A451AF #AF518B
triadic
#A451AF #AFA451 #51AFA4
tetradic
#A451AF #AF7551 #5CAF51 #518BAF
square
#A451AF #AF7551 #5CAF51 #518BAF
split-complementary
#A451AF #8BAF51 #51AF75
monochromatic
#562A5C #7D3D85 #A451AF #BA7BC2 #D0A5D6

Accessibility & contrast

On white

4.80
#A451AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A451AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A451AF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451AF#FFFFFF#000000##FFFFFF
##A451AF1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#A65E78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a451af;
/* rgb */ color: rgb(164, 81, 175);
/* oklch */ color: oklch(57.3% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#c186c7',
    500: '#a451af',
    950: '#000000',
  },
}
SCSS
$custom: #a451af;
$custom-light: #c186c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a451af",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 292.979,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.16283,
    "h": 322.8
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

primary
#A451AF
secondary
#9EC399
accent
#CD5B68
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A451AF

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

Preview Lab → · Contrast checker → · Palette generator →

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