#A045BF#A045BF

#A045BF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.195 H 316.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A045BF
RGBrgb(160, 69, 191)
HSLhsl(285, 49%, 51%)
HSVhsv(285, 64%, 75%)
CMYKcmyk(16.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(46.30, 56.15, -47.80)
CIE-LCHlch(46.30, 73.74, 319.59°)
OKLaboklab(56.13% 0.1411 -0.134)
OKLCHoklch(56.13% 0.195 316.5)
XYZxyz(26.0279, 15.4924, 50.8994)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045BF #64BF45
analogous
#6345BF #A045BF #BF45A1
triadic
#A045BF #BFA045 #45BFA0
tetradic
#A045BF #BF6345 #64BF45 #45A1BF
square
#A045BF #BF6345 #64BF45 #45A1BF
split-complementary
#A045BF #A1BF45 #45BF63
monochromatic
#552366 #7B3394 #A045BF #B773CF #CFA0DE

Accessibility & contrast

On white

5.12
#A045BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A045BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045BF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045BF#FFFFFF#000000##FFFFFF
##A045BF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#9E5B7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a045bf;
/* rgb */ color: rgb(160, 69, 191);
/* oklch */ color: oklch(56.1% 0.195 316.5);
Tailwind
colors: {
  custom: {
    50: '#bf7fd3',
    500: '#a045bf',
    950: '#000000',
  },
}
SCSS
$custom: #a045bf;
$custom-light: #bf7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a045bf",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 284.754,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.19457,
    "h": 316.5
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

primary
#A045BF
secondary
#A3CB95
accent
#D84F72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A045BF

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

Preview Lab → · Contrast checker → · Palette generator →

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