#A045BD#A045BD

#A045BD is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.193 H 317.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A045BD
RGBrgb(160, 69, 189)
HSLhsl(286, 48%, 51%)
HSVhsv(286, 63%, 74%)
CMYKcmyk(15.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(46.18, 55.74, -46.83)
CIE-LCHlch(46.18, 72.80, 319.97°)
OKLaboklab(56.01% 0.1411 -0.1311)
OKLCHoklch(56.01% 0.193 317.1)
XYZxyz(25.8093, 15.4050, 49.7482)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045BD #62BD45
analogous
#6445BD #A045BD #BD459E
triadic
#A045BD #BDA045 #45BDA0
tetradic
#A045BD #BD6445 #62BD45 #459EBD
square
#A045BD #BD6445 #62BD45 #459EBD
split-complementary
#A045BD #9EBD45 #45BD64
monochromatic
#542464 #7B3491 #A045BD #B772CD #CE9FDD

Accessibility & contrast

On white

5.15
#A045BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A045BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045BD#FFFFFF#000000##FFFFFF
##A045BD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C1
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#9F5A7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045bd;
/* rgb */ color: rgb(160, 69, 189);
/* oklch */ color: oklch(56.0% 0.193 317.1);
Tailwind
colors: {
  custom: {
    50: '#bf7fd1',
    500: '#a045bd',
    950: '#000000',
  },
}
SCSS
$custom: #a045bd;
$custom-light: #bf7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a045bd",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 285.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.19262,
    "h": 317.1
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#A045BD
secondary
#A1CA94
accent
#D75171
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A045BD

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

Preview Lab → · Contrast checker → · Palette generator →

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