#A452BB#A452BB

#A452BB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.173 H 318.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A452BB
RGBrgb(164, 82, 187)
HSLhsl(287, 44%, 53%)
HSVhsv(287, 56%, 73%)
CMYKcmyk(12.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(48.90, 50.12, -41.31)
CIE-LCHlch(48.90, 64.95, 320.51°)
OKLaboklab(58.07% 0.1295 -0.115)
OKLCHoklch(58.07% 0.173 318.4)
XYZxyz(27.2956, 17.5160, 48.9472)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452BB #69BB52
analogous
#6F52BB #A452BB #BB529D
triadic
#A452BB #BBA452 #52BBA4
tetradic
#A452BB #BB6F52 #69BB52 #529DBB
square
#A452BB #BB6F52 #69BB52 #529DBB
split-complementary
#A452BB #9DBB52 #52BB6F
monochromatic
#5B2969 #813B95 #A452BB #BB7ECC #D2AADE

Accessibility & contrast

On white

4.66
#A452BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A452BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A452BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452BB#FFFFFF#000000##FFFFFF
##A452BB1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#A4627F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a452bb;
/* rgb */ color: rgb(164, 82, 187);
/* oklch */ color: oklch(58.1% 0.173 318.4);
Tailwind
colors: {
  custom: {
    50: '#c186d0',
    500: '#a452bb',
    950: '#000000',
  },
}
SCSS
$custom: #a452bb;
$custom-light: #c186d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a452bb",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 286.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.17321,
    "h": 318.4
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#A452BB
secondary
#A8CB9E
accent
#D35470
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A452BB

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

Preview Lab → · Contrast checker → · Palette generator →

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