#A145BA#A145BA

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

Color values

HEX#A145BA
RGBrgb(161, 69, 186)
HSLhsl(287, 46%, 50%)
HSVhsv(287, 63%, 73%)
CMYKcmyk(13.4%, 62.9%, 0%, 27.1%)
CIE-LABlab(46.15, 55.38, -45.12)
CIE-LCHlch(46.15, 71.44, 320.83°)
OKLaboklab(55.96% 0.1423 -0.1262)
OKLCHoklch(55.96% 0.19 318.4)
XYZxyz(25.6878, 15.3796, 48.0603)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145BA #5EBA45
analogous
#6645BA #A145BA #BA4599
triadic
#A145BA #BAA145 #45BAA1
tetradic
#A145BA #BA6645 #5EBA45 #4599BA
square
#A145BA #BA6645 #5EBA45 #4599BA
split-complementary
#A145BA #99BA45 #45BA66
monochromatic
#542461 #7A348D #A145BA #B872CB #CE9EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A145BA#FFFFFF#000000##FFFFFF
##A145BA1.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)
#2267BE
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#A15979
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a145ba;
/* rgb */ color: rgb(161, 69, 186);
/* oklch */ color: oklch(56.0% 0.190 318.4);
Tailwind
colors: {
  custom: {
    50: '#c07fcf',
    500: '#a145ba',
    950: '#000000',
  },
}
SCSS
$custom: #a145ba;
$custom-light: #c07fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a145ba",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 287.179,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.19017,
    "h": 318.4
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#A145BA
secondary
#9EC893
accent
#D6526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A145BA

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

Preview Lab → · Contrast checker → · Palette generator →

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