#A045A6#A045A6

#A045A6 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.171 H 325.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A045A6
RGBrgb(160, 69, 166)
HSLhsl(296, 41%, 46%)
HSVhsv(296, 58%, 65%)
CMYKcmyk(3.6%, 58.4%, 0%, 34.9%)
CIE-LABlab(44.92, 51.27, -35.31)
CIE-LCHlch(44.92, 62.25, 325.44°)
OKLaboklab(54.68% 0.1402 -0.0977)
OKLCHoklch(54.68% 0.171 325.1)
XYZxyz(23.5077, 14.4843, 37.6265)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A6 #4BA645
analogous
#6F45A6 #A045A6 #A6457B
triadic
#A045A6 #A6A045 #45A6A0
tetradic
#A045A6 #A66F45 #4BA645 #457BA6
square
#A045A6 #A66F45 #4BA645 #457BA6
split-complementary
#A045A6 #7BA645 #45A66F
monochromatic
#4D2150 #76337B #A045A6 #BB68C0 #CE93D2

Accessibility & contrast

On white

5.39
#A045A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A045A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A6#FFFFFF#000000##FFFFFF
##A045A61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#A3526F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a045a6;
/* rgb */ color: rgb(160, 69, 166);
/* oklch */ color: oklch(54.7% 0.171 325.1);
Tailwind
colors: {
  custom: {
    50: '#bf7ec1',
    500: '#a045a6',
    950: '#000000',
  },
}
SCSS
$custom: #a045a6;
$custom-light: #bf7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a6",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 296.289,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.17085,
    "h": 325.1
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#A045A6
secondary
#8CBE89
accent
#D1575E
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A6

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

Preview Lab → · Contrast checker → · Palette generator →

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