#A545BB#A545BB

#A545BB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.193 H 319.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A545BB
RGBrgb(165, 69, 187)
HSLhsl(289, 46%, 50%)
HSVhsv(289, 63%, 73%)
CMYKcmyk(11.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(46.77, 56.55, -44.69)
CIE-LCHlch(46.77, 72.07, 321.68°)
OKLaboklab(56.54% 0.1472 -0.1248)
OKLCHoklch(56.54% 0.193 319.7)
XYZxyz(26.6137, 15.8446, 48.6605)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545BB #5BBB45
analogous
#6A45BB #A545BB #BB4596
triadic
#A545BB #BBA545 #45BBA5
tetradic
#A545BB #BB6A45 #5BBB45 #4596BB
square
#A545BB #BB6A45 #5BBB45 #4596BB
split-complementary
#A545BB #96BB45 #45BB6A
monochromatic
#562462 #7E348F #A545BB #BB72CB #D09FDC

Accessibility & contrast

On white

5.04
#A545BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A545BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545BB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545BB#FFFFFF#000000##FFFFFF
##A545BB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#A6597A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a545bb;
/* rgb */ color: rgb(165, 69, 187);
/* oklch */ color: oklch(56.5% 0.193 319.7);
Tailwind
colors: {
  custom: {
    50: '#c37fd0',
    500: '#a545bb',
    950: '#000000',
  },
}
SCSS
$custom: #a545bb;
$custom-light: #c37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a545bb",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 288.814,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.19292,
    "h": 319.7
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#A545BB
secondary
#9DC894
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A545BB

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

Preview Lab → · Contrast checker → · Palette generator →

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