#A045AB#A045AB

#A045AB is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.0% C 0.175 H 323.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A045AB
RGBrgb(160, 69, 171)
HSLhsl(294, 43%, 47%)
HSVhsv(294, 60%, 67%)
CMYKcmyk(6.4%, 59.6%, 0%, 32.9%)
CIE-LABlab(45.18, 52.21, -37.86)
CIE-LCHlch(45.18, 64.49, 324.05°)
OKLaboklab(54.96% 0.1406 -0.105)
OKLCHoklch(54.96% 0.175 323.2)
XYZxyz(23.9753, 14.6714, 40.0892)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045AB #50AB45
analogous
#6D45AB #A045AB #AB4583
triadic
#A045AB #ABA045 #45ABA0
tetradic
#A045AB #AB6D45 #50AB45 #4583AB
square
#A045AB #AB6D45 #50AB45 #4583AB
split-complementary
#A045AB #83AB45 #45AB6D
monochromatic
#4E2254 #77337F #A045AB #B96AC3 #CE96D5

Accessibility & contrast

On white

5.34
#A045AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A045AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045AB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045AB#FFFFFF#000000##FFFFFF
##A045AB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#536FA8
Tritanopia (blue-blind)
#A35471
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a045ab;
/* rgb */ color: rgb(160, 69, 171);
/* oklch */ color: oklch(55.0% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#bf7ec4',
    500: '#a045ab',
    950: '#000000',
  },
}
SCSS
$custom: #a045ab;
$custom-light: #bf7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a045ab",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 293.529,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.17548,
    "h": 323.2
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#A045AB
secondary
#91C08B
accent
#D25663
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #A045AB

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

Preview Lab → · Contrast checker → · Palette generator →

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