#A045B7#A045B7

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

Color values

HEX#A045B7
RGBrgb(160, 69, 183)
HSLhsl(288, 45%, 49%)
HSVhsv(288, 62%, 72%)
CMYKcmyk(12.6%, 62.3%, 0%, 28.2%)
CIE-LABlab(45.84, 54.54, -43.87)
CIE-LCHlch(45.84, 70.00, 321.19°)
OKLaboklab(55.65% 0.1411 -0.1225)
OKLCHoklch(55.65% 0.187 319)
XYZxyz(25.1715, 15.1498, 46.3889)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B7 #5CB745
analogous
#6745B7 #A045B7 #B74595
triadic
#A045B7 #B7A045 #45B7A0
tetradic
#A045B7 #B76745 #5CB745 #4595B7
square
#A045B7 #B76745 #5CB745 #4595B7
split-complementary
#A045B7 #95B745 #45B767
monochromatic
#52235E #79348B #A045B7 #B770C9 #CD9DDA

Accessibility & contrast

On white

5.21
#A045B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A045B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B7#FFFFFF#000000##FFFFFF
##A045B71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#4C70B4
Tritanopia (blue-blind)
#A05878
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045b7;
/* rgb */ color: rgb(160, 69, 183);
/* oklch */ color: oklch(55.6% 0.187 319.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ecd',
    500: '#a045b7',
    950: '#000000',
  },
}
SCSS
$custom: #a045b7;
$custom-light: #bf7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b7",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 287.895,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.18685,
    "h": 319
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#A045B7
secondary
#9CC692
accent
#D5536D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A045B7

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

Preview Lab → · Contrast checker → · Palette generator →

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