#A451BC#A451BC

#A451BC is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.176 H 318.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A451BC
RGBrgb(164, 81, 188)
HSLhsl(287, 44%, 53%)
HSVhsv(287, 57%, 74%)
CMYKcmyk(12.8%, 56.9%, 0%, 26.3%)
CIE-LABlab(48.77, 50.82, -42.10)
CIE-LCHlch(48.77, 65.99, 320.36°)
OKLaboklab(57.99% 0.1309 -0.1173)
OKLCHoklch(57.99% 0.176 318.1)
XYZxyz(27.3281, 17.4093, 49.4880)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451BC #69BC51
analogous
#6E51BC #A451BC #BC519E
triadic
#A451BC #BCA451 #51BCA4
tetradic
#A451BC #BC6E51 #69BC51 #519EBC
square
#A451BC #BC6E51 #69BC51 #519EBC
split-complementary
#A451BC #9EBC51 #51BC6E
monochromatic
#5B296A #813A96 #A451BC #BB7DCD #D2A9DE

Accessibility & contrast

On white

4.69
#A451BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A451BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A451BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451BC#FFFFFF#000000##FFFFFF
##A451BC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#A4627F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a451bc;
/* rgb */ color: rgb(164, 81, 188);
/* oklch */ color: oklch(58.0% 0.176 318.1);
Tailwind
colors: {
  custom: {
    50: '#c186d0',
    500: '#a451bc',
    950: '#000000',
  },
}
SCSS
$custom: #a451bc;
$custom-light: #c186d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a451bc",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 286.542,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.17577,
    "h": 318.1
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#A451BC
secondary
#A8CC9D
accent
#D45470
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A451BC

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

Preview Lab → · Contrast checker → · Palette generator →

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