#A451A2#A451A2

#A451A2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.6% C 0.150 H 328.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A451A2
RGBrgb(164, 81, 162)
HSLhsl(301, 34%, 48%)
HSVhsv(301, 51%, 64%)
CMYKcmyk(0%, 50.6%, 1.2%, 35.7%)
CIE-LABlab(47.48, 45.77, -28.89)
CIE-LCHlch(47.48, 54.13, 327.74°)
OKLaboklab(56.62% 0.1279 -0.0792)
OKLCHoklch(56.62% 0.15 328.2)
XYZxyz(24.7735, 16.3874, 36.0336)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451A2 #51A453
analogous
#7C51A4 #A451A2 #A45178
triadic
#A451A2 #A2A451 #51A2A4
tetradic
#A451A2 #A47C51 #51A453 #5178A4
square
#A451A2 #A47C51 #51A453 #5178A4
split-complementary
#A451A2 #78A451 #51A47C
monochromatic
#522951 #7B3D7A #A451A2 #BC77BA #D0A0CF

Accessibility & contrast

On white

4.91
#A451A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A451A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A451A2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451A2#FFFFFF#000000##FFFFFF
##A451A21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#A95972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a451a2;
/* rgb */ color: rgb(164, 81, 162);
/* oklch */ color: oklch(56.6% 0.150 328.2);
Tailwind
colors: {
  custom: {
    50: '#c185be',
    500: '#a451a2',
    950: '#000000',
  },
}
SCSS
$custom: #a451a2;
$custom-light: #c185be;
$custom-dark: #000000;
JSON
{
  "hex": "#a451a2",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 301.446,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.15043,
    "h": 328.2
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#A451A2
secondary
#94BD95
accent
#CA605E
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A451A2

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

Preview Lab → · Contrast checker → · Palette generator →

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