#A045B4#A045B4

#A045B4 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.184 H 320.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A045B4
RGBrgb(160, 69, 180)
HSLhsl(289, 45%, 49%)
HSVhsv(289, 62%, 71%)
CMYKcmyk(11.1%, 61.7%, 0%, 29.4%)
CIE-LABlab(45.67, 53.95, -42.38)
CIE-LCHlch(45.67, 68.61, 321.85°)
OKLaboklab(55.47% 0.141 -0.1182)
OKLCHoklch(55.47% 0.184 320)
XYZxyz(24.8625, 15.0263, 44.7619)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045B4 #59B445
analogous
#6945B4 #A045B4 #B44591
triadic
#A045B4 #B4A045 #45B4A0
tetradic
#A045B4 #B46945 #59B445 #4591B4
square
#A045B4 #B46945 #59B445 #4591B4
split-complementary
#A045B4 #91B445 #45B469
monochromatic
#51235C #793488 #A045B4 #B86FC8 #CD9BD9

Accessibility & contrast

On white

5.24
#A045B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A045B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045B4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045B4#FFFFFF#000000##FFFFFF
##A045B41.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#A15776
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a045b4;
/* rgb */ color: rgb(160, 69, 180);
/* oklch */ color: oklch(55.5% 0.184 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ecb',
    500: '#a045b4',
    950: '#000000',
  },
}
SCSS
$custom: #a045b4;
$custom-light: #bf7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#a045b4",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 289.189,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.18398,
    "h": 320
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#A045B4
secondary
#9AC590
accent
#D4546B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #A045B4

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

Preview Lab → · Contrast checker → · Palette generator →

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