#A451BA#A451BA

#A451BA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.174 H 318.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A451BA
RGBrgb(164, 81, 186)
HSLhsl(287, 43%, 52%)
HSVhsv(287, 56%, 73%)
CMYKcmyk(11.8%, 56.5%, 0%, 27.1%)
CIE-LABlab(48.67, 50.42, -41.10)
CIE-LCHlch(48.67, 65.05, 320.81°)
OKLaboklab(57.88% 0.1308 -0.1144)
OKLCHoklch(57.88% 0.174 318.8)
XYZxyz(27.1140, 17.3236, 48.3604)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451BA #67BA51
analogous
#7051BA #A451BA #BA519B
triadic
#A451BA #BAA451 #51BAA4
tetradic
#A451BA #BA7051 #67BA51 #519BBA
square
#A451BA #BA7051 #67BA51 #519BBA
split-complementary
#A451BA #9BBA51 #51BA70
monochromatic
#5A2968 #813A93 #A451BA #BB7DCB #D2A9DD

Accessibility & contrast

On white

4.70
#A451BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A451BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A451BA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451BA#FFFFFF#000000##FFFFFF
##A451BA1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#A4617E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a451ba;
/* rgb */ color: rgb(164, 81, 186);
/* oklch */ color: oklch(57.9% 0.174 318.8);
Tailwind
colors: {
  custom: {
    50: '#c186cf',
    500: '#a451ba',
    950: '#000000',
  },
}
SCSS
$custom: #a451ba;
$custom-light: #c186cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a451ba",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 287.429,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.17376,
    "h": 318.8
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#A451BA
secondary
#A6CA9D
accent
#D3556F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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