#A045B9#A045B9

#A045B9 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.189 H 318.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A045B9
RGBrgb(160, 69, 185)
HSLhsl(287, 46%, 50%)
HSVhsv(287, 63%, 73%)
CMYKcmyk(13.5%, 62.7%, 0%, 27.5%)
CIE-LABlab(45.95, 54.94, -44.86)
CIE-LCHlch(45.95, 70.93, 320.77°)
OKLaboklab(55.77% 0.1411 -0.1254)
OKLCHoklch(55.77% 0.189 318.4)
XYZxyz(25.3811, 15.2337, 47.4930)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B9 #5EB945
analogous
#6645B9 #A045B9 #B94598
triadic
#A045B9 #B9A045 #45B9A0
tetradic
#A045B9 #B96645 #5EB945 #4598B9
square
#A045B9 #B96645 #5EB945 #4598B9
split-complementary
#A045B9 #98B945 #45B966
monochromatic
#532460 #79348C #A045B9 #B771CA #CE9EDB

Accessibility & contrast

On white

5.19
#A045B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A045B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B9#FFFFFF#000000##FFFFFF
##A045B91.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BD
Deuteranopia (green-blind)
#4B70B6
Tritanopia (blue-blind)
#A05979
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045b9;
/* rgb */ color: rgb(160, 69, 185);
/* oklch */ color: oklch(55.8% 0.189 318.4);
Tailwind
colors: {
  custom: {
    50: '#bf7ece',
    500: '#a045b9',
    950: '#000000',
  },
}
SCSS
$custom: #a045b9;
$custom-light: #bf7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b9",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 287.069,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.18876,
    "h": 318.4
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#A045B9
secondary
#9EC793
accent
#D5526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A045B9

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

Preview Lab → · Contrast checker → · Palette generator →

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