#A045B8#A045B8

#A045B8 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.188 H 318.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A045B8
RGBrgb(160, 69, 184)
HSLhsl(287, 45%, 50%)
HSVhsv(287, 63%, 72%)
CMYKcmyk(13%, 62.5%, 0%, 27.8%)
CIE-LABlab(45.90, 54.74, -44.37)
CIE-LCHlch(45.90, 70.46, 320.98°)
OKLaboklab(55.71% 0.1411 -0.124)
OKLCHoklch(55.71% 0.188 318.7)
XYZxyz(25.2759, 15.1916, 46.9390)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B8 #5DB845
analogous
#6645B8 #A045B8 #B84597
triadic
#A045B8 #B8A045 #45B8A0
tetradic
#A045B8 #B86645 #5DB845 #4597B8
square
#A045B8 #B86645 #5DB845 #4597B8
split-complementary
#A045B8 #97B845 #45B866
monochromatic
#53245F #79348B #A045B8 #B771CA #CE9DDA

Accessibility & contrast

On white

5.20
#A045B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A045B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B8#FFFFFF#000000##FFFFFF
##A045B81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BC
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#A05878
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045b8;
/* rgb */ color: rgb(160, 69, 184);
/* oklch */ color: oklch(55.7% 0.188 318.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ece',
    500: '#a045b8',
    950: '#000000',
  },
}
SCSS
$custom: #a045b8;
$custom-light: #bf7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b8",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 287.478,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.1878,
    "h": 318.7
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#A045B8
secondary
#9DC792
accent
#D5536E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A045B8

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

Preview Lab → · Contrast checker → · Palette generator →

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