#A045BA#A045BA

#A045BA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.190 H 318.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A045BA
RGBrgb(160, 69, 186)
HSLhsl(287, 46%, 50%)
HSVhsv(287, 63%, 73%)
CMYKcmyk(14%, 62.9%, 0%, 27.1%)
CIE-LABlab(46.01, 55.14, -45.35)
CIE-LCHlch(46.01, 71.40, 320.56°)
OKLaboklab(55.83% 0.1411 -0.1268)
OKLCHoklch(55.83% 0.19 318)
XYZxyz(25.4870, 15.2760, 48.0509)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045BA #5FBA45
analogous
#6645BA #A045BA #BA4599
triadic
#A045BA #BAA045 #45BAA0
tetradic
#A045BA #BA6645 #5FBA45 #4599BA
square
#A045BA #BA6645 #5FBA45 #4599BA
split-complementary
#A045BA #99BA45 #45BA66
monochromatic
#532461 #7A348D #A045BA #B772CB #CE9EDB

Accessibility & contrast

On white

5.18
#A045BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A045BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045BA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045BA#FFFFFF#000000##FFFFFF
##A045BA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#9F5979
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045ba;
/* rgb */ color: rgb(160, 69, 186);
/* oklch */ color: oklch(55.8% 0.190 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ecf',
    500: '#a045ba',
    950: '#000000',
  },
}
SCSS
$custom: #a045ba;
$custom-light: #bf7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#a045ba",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 286.667,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.18973,
    "h": 318
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#A045BA
secondary
#9FC893
accent
#D6526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A045BA

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

Preview Lab → · Contrast checker → · Palette generator →

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