#A045B5#A045B5

#A045B5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.185 H 319.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A045B5
RGBrgb(160, 69, 181)
HSLhsl(289, 45%, 49%)
HSVhsv(289, 62%, 71%)
CMYKcmyk(11.6%, 61.9%, 0%, 29%)
CIE-LABlab(45.73, 54.15, -42.88)
CIE-LCHlch(45.73, 69.07, 321.62°)
OKLaboklab(55.53% 0.141 -0.1196)
OKLCHoklch(55.53% 0.185 319.7)
XYZxyz(24.9648, 15.0671, 45.3003)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B5 #5AB545
analogous
#6845B5 #A045B5 #B54592
triadic
#A045B5 #B5A045 #45B5A0
tetradic
#A045B5 #B56845 #5AB545 #4592B5
square
#A045B5 #B56845 #5AB545 #4592B5
split-complementary
#A045B5 #92B545 #45B568
monochromatic
#52235C #793489 #A045B5 #B76FC8 #CD9BD9

Accessibility & contrast

On white

5.23
#A045B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A045B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B5#FFFFFF#000000##FFFFFF
##A045B51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866B8
Deuteranopia (green-blind)
#4D6FB2
Tritanopia (blue-blind)
#A15777
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a045b5;
/* rgb */ color: rgb(160, 69, 181);
/* oklch */ color: oklch(55.5% 0.185 319.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ecc',
    500: '#a045b5',
    950: '#000000',
  },
}
SCSS
$custom: #a045b5;
$custom-light: #bf7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b5",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 288.75,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.18493,
    "h": 319.7
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#A045B5
secondary
#9AC591
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A045B5

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

Preview Lab → · Contrast checker → · Palette generator →

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