#A045B6#A045B6

#A045B6 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.186 H 319.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A045B6
RGBrgb(160, 69, 182)
HSLhsl(288, 45%, 49%)
HSVhsv(288, 62%, 71%)
CMYKcmyk(12.1%, 62.1%, 0%, 28.6%)
CIE-LABlab(45.78, 54.35, -43.38)
CIE-LCHlch(45.78, 69.54, 321.40°)
OKLaboklab(55.59% 0.141 -0.1211)
OKLCHoklch(55.59% 0.186 319.4)
XYZxyz(25.0677, 15.1083, 45.8427)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B6 #5BB645
analogous
#6845B6 #A045B6 #B64594
triadic
#A045B6 #B6A045 #45B6A0
tetradic
#A045B6 #B66845 #5BB645 #4594B6
square
#A045B6 #B66845 #5BB645 #4594B6
split-complementary
#A045B6 #94B645 #45B668
monochromatic
#52235D #79348A #A045B6 #B770C9 #CD9CD9

Accessibility & contrast

On white

5.22
#A045B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A045B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B6#FFFFFF#000000##FFFFFF
##A045B61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B9
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#A05877
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a045b6;
/* rgb */ color: rgb(160, 69, 182);
/* oklch */ color: oklch(55.6% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#bf7ecc',
    500: '#a045b6',
    950: '#000000',
  },
}
SCSS
$custom: #a045b6;
$custom-light: #bf7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b6",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 288.319,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.18588,
    "h": 319.4
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#A045B6
secondary
#9BC691
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A045B6

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

Preview Lab → · Contrast checker → · Palette generator →

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