#A045A8#A045A8

#A045A8 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.8% C 0.173 H 324.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A045A8
RGBrgb(160, 69, 168)
HSLhsl(295, 42%, 46%)
HSVhsv(295, 59%, 66%)
CMYKcmyk(4.8%, 58.9%, 0%, 34.1%)
CIE-LABlab(45.02, 51.64, -36.34)
CIE-LCHlch(45.02, 63.15, 324.87°)
OKLaboklab(54.79% 0.1404 -0.1006)
OKLCHoklch(54.79% 0.173 324.4)
XYZxyz(23.6926, 14.5583, 38.6003)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A8 #4DA845
analogous
#6F45A8 #A045A8 #A8457F
triadic
#A045A8 #A8A045 #45A8A0
tetradic
#A045A8 #A86F45 #4DA845 #457FA8
square
#A045A8 #A86F45 #4DA845 #457FA8
split-complementary
#A045A8 #7FA845 #45A86F
monochromatic
#4D2151 #77337D #A045A8 #BA69C1 #CE94D3

Accessibility & contrast

On white

5.37
#A045A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A045A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A8#FFFFFF#000000##FFFFFF
##A045A81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#A35370
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a045a8;
/* rgb */ color: rgb(160, 69, 168);
/* oklch */ color: oklch(54.8% 0.173 324.4);
Tailwind
colors: {
  custom: {
    50: '#bf7ec2',
    500: '#a045a8',
    950: '#000000',
  },
}
SCSS
$custom: #a045a8;
$custom-light: #bf7ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a8",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 295.152,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.1727,
    "h": 324.4
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#A045A8
secondary
#8EBF8A
accent
#D25660
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A8

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

Preview Lab → · Contrast checker → · Palette generator →

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